Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001019/0.001019, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009544/0.0009544, allocations: 169 kB / 24.24 MB, free: 312 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 1.037/1.037, allocations: 158.6 MB / 186 MB, free: 2.91 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.1455/0.1455, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.086e-05, allocations: 8.219 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001768/0.001789, allocations: 1.742 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.002595, allocations: 0.7881 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.002673, allocations: 0 / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.002978, allocations: 51.75 kB / 350.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.003172, allocations: 51.7 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003342, allocations: 91.69 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003464, allocations: 91.7 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.003556, allocations: 8.219 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.003622, allocations: 59.77 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.003681, allocations: 23.92 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.003697, allocations: 4 kB / 350.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.229e-05/0.003759, allocations: 39.91 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.003803, allocations: 27.92 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.003835, allocations: 15.94 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.003974, allocations: 111.6 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003976, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003977, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.00398, allocations: 3.938 kB / 350.8 MB, free: 6.582 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.0003551/0.004335, allocations: 439.9 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.004374, allocations: 12.03 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.004421, allocations: 16.83 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.004573, allocations: 149.8 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.00459, allocations: 4.375 kB / 351.4 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.004608, allocations: 4.375 kB / 351.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004717, allocations: 66.94 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.004727, allocations: 3.938 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004736, allocations: 0 / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.004744, allocations: 0 / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.004777, allocations: 15.92 kB / 351.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.005014, allocations: 283.8 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.005106, allocations: 51.16 kB / 351.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.005134, allocations: 23.62 kB / 351.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.005146, allocations: 7.875 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.555e-05/0.005232, allocations: 69.05 kB / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.005232, allocations: 0 / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003667/0.005599, allocations: 161.4 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.005622, allocations: 55.41 kB / 352.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/0.005717, allocations: 231.5 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.005725, allocations: 25.7 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.005759, allocations: 150.9 kB / 352.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.005782, allocations: 31.73 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.005809, allocations: 27.38 kB / 352.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.005857, allocations: 0.4962 MB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.005879, allocations: 16.36 kB / 353.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.005908, allocations: 31.38 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.005959, allocations: 55.23 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.005962, allocations: 8 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.358e-05/0.006056, allocations: 85.58 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.006069, allocations: 8 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.006075, allocations: 0 / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.006089, allocations: 0 / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.006178, allocations: 15.98 kB / 353.3 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.006184, allocations: 8.031 kB / 353.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.006224, allocations: 0 / 353.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.006233, allocations: 4 kB / 353.4 MB, free: 3.844 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 7.592e-05/0.006309, allocations: 172.4 kB / 353.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.006334, allocations: 19.91 kB / 353.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.006535, allocations: 95.28 kB / 353.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.006538, allocations: 4 kB / 353.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.006543, allocations: 3.984 kB / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006548, allocations: 0 / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.006786, allocations: 397 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006787, allocations: 0 / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.006812, allocations: 11.94 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006815, allocations: 0 / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006823, allocations: 4 kB / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006824, allocations: 0 / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006825, allocations: 0 / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006929, allocations: 263.3 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.00694, allocations: 15.94 kB / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.006956, allocations: 4 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.006996, allocations: 4.031 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.007031, allocations: 11.98 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.007044, allocations: 4 kB / 354.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.007101, allocations: 167.8 kB / 354.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007101, allocations: 4 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.007274, allocations: 27.92 kB / 354.5 MB, free: 2.57 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.0009565/0.00823, allocations: 439.2 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.008376, allocations: 59.52 kB / 355 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.008378, allocations: 4.062 kB / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.008423, allocations: 31.62 kB / 355.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.008673, allocations: 35.83 kB / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.008993, allocations: 217.4 kB / 355.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.009026, allocations: 67.33 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.009057, allocations: 16.48 kB / 355.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.009087, allocations: 16.48 kB / 355.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of SimCode: time 1.143e-06/0.009088, allocations: 8.062 kB / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of Templates: time 0.004433/0.01352, allocations: 1.845 MB / 357.3 MB, free: 15.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.426390916109085]