Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.93 MB / 361.5 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 79.86 kB / 0.4975 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3072, allocations: 66.08 MB / 0.562 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003053/0.3102, allocations: 1.745 MB / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3119, allocations: 1.045 MB / 0.5647 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.3119, allocations: 3.938 kB / 0.5648 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3122, allocations: 59.69 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.3125, allocations: 103.5 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.3127, allocations: 71.73 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.3129, allocations: 103.7 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.313, allocations: 11.98 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.3131, allocations: 47.73 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.3131, allocations: 27.84 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3131, allocations: 4 kB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.3132, allocations: 39.98 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.3133, allocations: 43.83 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.3134, allocations: 35.69 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3136, allocations: 129.8 kB / 0.5654 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3136, allocations: 3.984 kB / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3136, allocations: 0 / 0.5654 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3136, allocations: 4 kB / 0.5654 GB, free: 0.7266 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005468/0.3141, allocations: 357.4 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3142, allocations: 8.031 kB / 0.5658 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.3142, allocations: 12.89 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3145, allocations: 167 kB / 0.5659 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3145, allocations: 4.375 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3145, allocations: 384 / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3146, allocations: 61.92 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3147, allocations: 0 / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3147, allocations: 0 / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3147, allocations: 4 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.3147, allocations: 15.98 kB / 0.566 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3151, allocations: 271.9 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3153, allocations: 54.62 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3153, allocations: 20.84 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3154, allocations: 0 / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3155, allocations: 75.39 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3155, allocations: 0 / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005043/0.316, allocations: 181.3 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3161, allocations: 55.39 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3163, allocations: 239 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3163, allocations: 25.7 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.3164, allocations: 116.1 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3164, allocations: 27.78 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3165, allocations: 25.72 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3166, allocations: 326.8 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.3167, allocations: 23.98 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.3167, allocations: 41.64 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3168, allocations: 53.7 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3168, allocations: 0 / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.317, allocations: 109.5 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.317, allocations: 4 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.317, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3171, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.3171, allocations: 19.98 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3171, allocations: 3.938 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.3172, allocations: 4 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3172, allocations: 4 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.3173, allocations: 135.1 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3173, allocations: 15.91 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3176, allocations: 127.1 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3176, allocations: 3.984 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3176, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3176, allocations: 7.875 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.318, allocations: 374.4 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.318, allocations: 4.031 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.3181, allocations: 11.94 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3181, allocations: 0 / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3181, allocations: 0 / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.3181, allocations: 7.938 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3181, allocations: 3.984 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3183, allocations: 200.3 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.3183, allocations: 15.91 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3184, allocations: 4.375 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3184, allocations: 3.938 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3185, allocations: 19.92 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3185, allocations: 4 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3186, allocations: 171.2 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3186, allocations: 0 / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3189, allocations: 20 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/0.3205, allocations: 465.2 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.3207, allocations: 51.92 kB / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3207, allocations: 0 / 0.5692 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.3207, allocations: 28.05 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.3211, allocations: 31.98 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.3216, allocations: 300.8 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3219, allocations: 0.7197 MB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.322, allocations: 19.38 kB / 0.5703 GB, free: 11.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.322, allocations: 4.062 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.003905/0.3259, allocations: 2.014 MB / 0.5722 GB, free: 9.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.2144409159664065]