Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0009531/0.0009531, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001041/0.001041, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.892/0.892, allocations: 177.2 MB / 206.1 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1493/0.1493, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.687e-05, allocations: 5.688 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001862/0.001879, allocations: 1.754 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.00294, allocations: 0.9897 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.003015, allocations: 3.938 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.003286, allocations: 79.7 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.003506, allocations: 123.4 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.003628, allocations: 79.59 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.003762, allocations: 123.6 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.003841, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.003912, allocations: 63.81 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.003989, allocations: 51.88 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.004002, allocations: 8 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.004064, allocations: 47.91 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.004105, allocations: 27.86 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.004133, allocations: 23.92 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.004263, allocations: 107.5 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004264, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004265, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.004268, allocations: 0 / 382.9 MB, free: 19.84 MB / 314.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.000326/0.004594, allocations: 459.7 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.004624, allocations: 12.03 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.004654, allocations: 8.891 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.004774, allocations: 160.4 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.004792, allocations: 8.297 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.004807, allocations: 4.375 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.00489, allocations: 62.94 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.0049, allocations: 3.938 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.004907, allocations: 0 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.004913, allocations: 4 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.004937, allocations: 7.984 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.005117, allocations: 264.4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.005192, allocations: 55.09 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.005209, allocations: 11.69 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.00522, allocations: 11.98 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.054e-05/0.00529, allocations: 76.97 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.005291, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002735/0.005565, allocations: 137.4 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.005585, allocations: 51.41 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.005683, allocations: 235.5 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.005693, allocations: 37.64 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.005733, allocations: 154.8 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.005755, allocations: 27.8 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.005783, allocations: 35.3 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.005834, allocations: 0.5001 MB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.005849, allocations: 11.98 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.005873, allocations: 35.36 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.005911, allocations: 43.42 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.005912, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.431e-05/0.005986, allocations: 89.52 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.005995, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005999, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.00601, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.006065, allocations: 20.02 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.006068, allocations: 3.938 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.0061, allocations: 4 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.006104, allocations: 0 / 385.4 MB, free: 17.11 MB / 314.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.714e-05/0.006151, allocations: 168.5 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.006165, allocations: 19.84 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.006266, allocations: 99.06 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006267, allocations: 0 / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.006269, allocations: 0 / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006272, allocations: 4 kB / 385.6 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.006457, allocations: 373.5 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006458, allocations: 0 / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.00648, allocations: 11.98 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006481, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.006488, allocations: 4 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006488, allocations: 384 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006489, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.201e-05/0.006581, allocations: 259.7 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.006591, allocations: 7.953 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.006606, allocations: 8 kB / 386.3 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.006645, allocations: 12.02 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.006667, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.006677, allocations: 7.984 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.006721, allocations: 181.5 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006721, allocations: 0 / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.006882, allocations: 23.98 kB / 386.5 MB, free: 15.88 MB / 314.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.0008437/0.007726, allocations: 431.5 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.007809, allocations: 51.53 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.00781, allocations: 4.062 kB / 387 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.007837, allocations: 31.67 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.008046, allocations: 36.88 kB / 387.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.008297, allocations: 230.5 kB / 387.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.008328, allocations: 75.19 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.157e-05/0.00836, allocations: 16.97 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.008412, allocations: 90.25 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008413, allocations: 0 / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Templates: time 0.003063/0.01148, allocations: 2.073 MB / 389.5 MB, free: 12.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.0649403701536357]