Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001534/0.001534, allocations: 81.08 kB / 20.65 MB, free: 3.836 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.001133/0.001133, allocations: 169 kB / 24.06 MB, free: 448 kB / 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 0.9219/0.9219, allocations: 158.6 MB / 185.9 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1282/0.1282, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.373e-05, allocations: 9.344 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002037/0.00206, allocations: 1.726 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003236, allocations: 1.513 MB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.003305, allocations: 11.94 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.003584, allocations: 35.83 kB / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.003804, allocations: 63.58 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.004008, allocations: 87.69 kB / 351.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004139, allocations: 95.7 kB / 351.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.004222, allocations: 8.219 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.148e-05/0.004303, allocations: 59.77 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.656e-05/0.0044, allocations: 31.89 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004416, allocations: 4 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.004514, allocations: 55.92 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.004555, allocations: 19.92 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.004587, allocations: 19.92 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004748, allocations: 115.5 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.004752, allocations: 0 / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004753, allocations: 4 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.004757, allocations: 0 / 352 MB, free: 5.234 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.0003405/0.005097, allocations: 432 kB / 352.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.005131, allocations: 15.97 kB / 352.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.005161, allocations: 8.891 kB / 352.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.005282, allocations: 140.5 kB / 352.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.005296, allocations: 8.375 kB / 352.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.005313, allocations: 4.375 kB / 352.6 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.00544, allocations: 111.9 kB / 352.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005447, allocations: 3.938 kB / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.005454, allocations: 0 / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.005458, allocations: 0 / 352.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/0.005482, allocations: 16 kB / 352.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.00568, allocations: 256.4 kB / 353 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.005756, allocations: 55.09 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.005775, allocations: 15.69 kB / 353.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.005789, allocations: 8 kB / 353.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.943e-05/0.005878, allocations: 68.98 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.005879, allocations: 0 / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002748/0.006154, allocations: 137.4 kB / 353.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.006181, allocations: 81.11 kB / 353.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.006254, allocations: 197 kB / 353.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.006263, allocations: 33.69 kB / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.006294, allocations: 138.9 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.006316, allocations: 35.72 kB / 353.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.006343, allocations: 31.38 kB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.006391, allocations: 0.4884 MB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.006405, allocations: 8 kB / 354.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.006434, allocations: 72.67 kB / 354.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.738e-05/0.006471, allocations: 51.34 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.006472, allocations: 0 / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.082e-05/0.006553, allocations: 85.58 kB / 354.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.006565, allocations: 4 kB / 354.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00657, allocations: 4.062 kB / 354.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.006582, allocations: 4 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.006641, allocations: 15.98 kB / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006644, allocations: 0 / 354.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.006672, allocations: 8 kB / 354.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.006676, allocations: 3.938 kB / 354.5 MB, free: 2.488 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 4.759e-05/0.006724, allocations: 164.5 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.006739, allocations: 19.88 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.006858, allocations: 94.39 kB / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.00686, allocations: 0 / 354.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006862, allocations: 4 kB / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.006865, allocations: 0 / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.007059, allocations: 361.9 kB / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007061, allocations: 0 / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.007086, allocations: 12 kB / 355.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007089, allocations: 4 kB / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.007095, allocations: 0 / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007097, allocations: 3.984 kB / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007098, allocations: 0 / 355.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.74e-05/0.007186, allocations: 259.4 kB / 355.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007194, allocations: 7.984 kB / 355.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.007207, allocations: 4 kB / 355.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.007248, allocations: 4 kB / 355.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.007271, allocations: 7.984 kB / 355.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.007282, allocations: 4 kB / 355.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.007316, allocations: 151.1 kB / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007316, allocations: 0 / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.007478, allocations: 27.94 kB / 355.6 MB, free: 1.305 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.0008848/0.008363, allocations: 498.2 kB / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.624e-05/0.008459, allocations: 59.52 kB / 356.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008461, allocations: 0 / 356.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.00849, allocations: 23.69 kB / 356.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.008705, allocations: 35.7 kB / 356.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.008958, allocations: 205.1 kB / 356.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.263e-05/0.00898, allocations: 71.25 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.242e-05/0.009013, allocations: 12.8 kB / 356.5 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.00907, allocations: 94.19 kB / 356.6 MB, free: 368 kB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009071, allocations: 4 kB / 356.6 MB, free: 364 kB / 282.7 MB Notification: Performance of Templates: time 0.003768/0.01284, allocations: 2.313 MB / 358.9 MB, free: 14.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.0585885900072753]