Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002459/0.002459, allocations: 92.97 kB / 20.21 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002589/0.002589, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2747/0.2747, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.998e-06/3.998e-06, allocations: 0 / 347 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.609e-05/6.008e-05, allocations: 2.312 kB / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003753/0.003813, allocations: 1.707 MB / 348.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.005208, allocations: 0.7766 MB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.005317, allocations: 7.938 kB / 349.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.005855, allocations: 107.6 kB / 349.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.006205, allocations: 91.64 kB / 349.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.006527, allocations: 83.7 kB / 349.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.006772, allocations: 119.6 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.006895, allocations: 4.234 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.007047, allocations: 63.81 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.007173, allocations: 67.8 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.007202, allocations: 0 / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.007311, allocations: 43.92 kB / 350.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.007391, allocations: 27.92 kB / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.007446, allocations: 23.86 kB / 350.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.007694, allocations: 115.6 kB / 350.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.007702, allocations: 3.984 kB / 350.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.007703, allocations: 0 / 350.2 MB, free: 6.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.007711, allocations: 0 / 350.2 MB, free: 6.461 MB / 282.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.0006302/0.008341, allocations: 479.3 kB / 350.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.008385, allocations: 8.031 kB / 350.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.008452, allocations: 20.78 kB / 350.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.008673, allocations: 153.2 kB / 350.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.008691, allocations: 8.375 kB / 350.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.008717, allocations: 4.375 kB / 350.9 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.008876, allocations: 50.23 kB / 351 MB, free: 5.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.008892, allocations: 3.938 kB / 351 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.008904, allocations: 4 kB / 351 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00891, allocations: 0 / 351 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.008988, allocations: 15.98 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.009382, allocations: 315.7 kB / 351.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.009551, allocations: 67.16 kB / 351.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.009602, allocations: 23.62 kB / 351.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.009624, allocations: 4 kB / 351.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.009779, allocations: 72.98 kB / 351.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.009781, allocations: 0 / 351.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005951/0.01038, allocations: 185.3 kB / 351.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.01041, allocations: 51.41 kB / 351.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.01059, allocations: 273.7 kB / 351.9 MB, free: 4.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01061, allocations: 29.69 kB / 352 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.0107, allocations: 162.9 kB / 352.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.01074, allocations: 27.8 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.01079, allocations: 27.38 kB / 352.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01091, allocations: 0.5118 MB / 352.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.01096, allocations: 20 kB / 352.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.01102, allocations: 39.36 kB / 352.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.01111, allocations: 75.23 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01111, allocations: 0 / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.01126, allocations: 101.6 kB / 352.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01128, allocations: 4 kB / 352.9 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01128, allocations: 3.984 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.01131, allocations: 4 kB / 352.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.0114, allocations: 23.89 kB / 353 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.01141, allocations: 4 kB / 353 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.01146, allocations: 7.953 kB / 353 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.01146, allocations: 384 / 353 MB, free: 3.504 MB / 282.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 9.434e-05/0.01156, allocations: 177.5 kB / 353.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.01158, allocations: 11.95 kB / 353.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.01184, allocations: 127.1 kB / 353.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01184, allocations: 0 / 353.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.01184, allocations: 4 kB / 353.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01185, allocations: 0 / 353.3 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.01224, allocations: 433 kB / 353.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01224, allocations: 0 / 353.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.01227, allocations: 12 kB / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01228, allocations: 0 / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01229, allocations: 0 / 353.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.01229, allocations: 7.938 kB / 353.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01229, allocations: 0 / 353.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.0125, allocations: 279.4 kB / 354 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.01252, allocations: 11.91 kB / 354 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.01255, allocations: 0 / 354 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01265, allocations: 4 kB / 354 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.01272, allocations: 12.02 kB / 354 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.01274, allocations: 4 kB / 354 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.01285, allocations: 200.1 kB / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01285, allocations: 0 / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.01311, allocations: 24 kB / 354.3 MB, free: 2.137 MB / 282.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.003148/0.01626, allocations: 0.4889 MB / 354.7 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.01648, allocations: 67.59 kB / 354.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01648, allocations: 4 kB / 354.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.01656, allocations: 35.61 kB / 354.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.01695, allocations: 33.59 kB / 354.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.01752, allocations: 244.7 kB / 355.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.01761, allocations: 100.9 kB / 355.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.01766, allocations: 20.64 kB / 355.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.01771, allocations: 20.5 kB / 355.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01771, allocations: 0 / 355.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of Templates: time 0.00605/0.02376, allocations: 1.834 MB / 357.1 MB, free: 15.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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: 6.0112626139307395]