Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001219/0.001219, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001794/0.001794, allocations: 162 kB / 24.91 MB, free: 8.777 MB / 18.57 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 0.9969/0.9969, allocations: 177 MB / 205.2 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2697/0.2697, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.216e-05, allocations: 2.312 kB / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003021/0.003043, allocations: 1.81 MB / 327.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004663, allocations: 0.9978 MB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.004745, allocations: 3.938 kB / 328.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.00502, allocations: 43.77 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.005336, allocations: 91.42 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.005563, allocations: 79.66 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.00574, allocations: 108.4 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.059e-05/0.005821, allocations: 11.92 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.005926, allocations: 55.88 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.006001, allocations: 23.92 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.006016, allocations: 4 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006117, allocations: 51.84 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.006165, allocations: 27.86 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.006196, allocations: 11.94 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.006372, allocations: 99.66 kB / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.006373, allocations: 0 / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006374, allocations: 0 / 329.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.006377, allocations: 0 / 329.5 MB, free: 3.602 MB / 298.7 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.0003593/0.006737, allocations: 309.7 kB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.006769, allocations: 8.031 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.006803, allocations: 8.922 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.006967, allocations: 149.5 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.006983, allocations: 4.375 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.006999, allocations: 4.375 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.00711, allocations: 65.77 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.00712, allocations: 4.125 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.007127, allocations: 384 / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007134, allocations: 3.938 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.007165, allocations: 11.98 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.00738, allocations: 162 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.71e-05/0.007477, allocations: 89.22 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.007503, allocations: 16.86 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.007513, allocations: 0 / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.39e-05/0.007607, allocations: 62.22 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.007608, allocations: 0 / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003159/0.007924, allocations: 121.8 kB / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.007957, allocations: 51.41 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.008084, allocations: 163.1 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.008099, allocations: 25.7 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.008133, allocations: 96.11 kB / 330.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.008162, allocations: 23.8 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.008201, allocations: 29.69 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.008286, allocations: 322.8 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.00831, allocations: 18.83 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.008341, allocations: 21.7 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.008397, allocations: 40.52 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008398, allocations: 0 / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001024/0.0085, allocations: 76.41 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.008513, allocations: 7.938 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008517, allocations: 0 / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00853, allocations: 4.031 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.008604, allocations: 23.98 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.00861, allocations: 3.938 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.487e-05/0.008645, allocations: 4 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.008651, allocations: 4 kB / 331.4 MB, free: 1.527 MB / 298.7 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 6.93e-05/0.00872, allocations: 116.7 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.008737, allocations: 11.92 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.008856, allocations: 74.39 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.00886, allocations: 4 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008861, allocations: 0 / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.008867, allocations: 7.984 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.009141, allocations: 291.5 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.009144, allocations: 3.938 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.009181, allocations: 12 kB / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009183, allocations: 0 / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.00919, allocations: 0 / 331.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009192, allocations: 4 kB / 331.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009194, allocations: 0 / 331.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.009324, allocations: 219 kB / 332.1 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.009339, allocations: 11.89 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.009358, allocations: 4.031 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.009425, allocations: 8 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.009452, allocations: 3.984 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.009465, allocations: 4 kB / 332.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.009517, allocations: 47.64 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009517, allocations: 0 / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.009745, allocations: 23.94 kB / 332.2 MB, free: 0.625 MB / 298.7 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 (9): * Single equations (assignments): 7 * 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.001662/0.01141, allocations: 0.5675 MB / 332.7 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01151, allocations: 44.83 kB / 332.8 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01152, allocations: 0 / 332.8 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.01156, allocations: 24.8 kB / 332.8 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.0118, allocations: 34.72 kB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.01216, allocations: 204.8 kB / 333 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/0.0122, allocations: 75.2 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.609e-05/0.01225, allocations: 17.27 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.01233, allocations: 67.36 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01233, allocations: 3.938 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.004497/0.01683, allocations: 2.004 MB / 335.2 MB, free: 13.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.040197161026299]