Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001008/0.001008, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001317/0.001317, allocations: 165 kB / 24.56 MB, free: 24 kB / 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.9762/0.9762, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2955/0.2955, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.673e-05, allocations: 6.25 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002116/0.002133, allocations: 1.848 MB / 377.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003364, allocations: 1.091 MB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.003425, allocations: 4 kB / 379 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.003775, allocations: 307.1 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.004116, allocations: 259 kB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.004286, allocations: 111.6 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.004502, allocations: 271.2 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.004535, allocations: 13.8 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.004665, allocations: 151.6 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.004828, allocations: 207.6 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.004846, allocations: 4 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.004917, allocations: 43.94 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.005009, allocations: 151.5 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.005072, allocations: 75.66 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.005309, allocations: 279 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005311, allocations: 3.938 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005312, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005315, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005689/0.005884, allocations: 0.7902 MB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.546e-05/0.00591, allocations: 8.031 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.005968, allocations: 60.55 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.006233, allocations: 332.6 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.006247, allocations: 8.375 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.006256, allocations: 4.375 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.00638, allocations: 98.22 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.006387, allocations: 3.938 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.006395, allocations: 4 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.006399, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.006436, allocations: 15.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.006665, allocations: 316.2 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.006786, allocations: 102.2 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.006823, allocations: 31.36 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-06/0.006832, allocations: 0 / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.006939, allocations: 116.3 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.006939, allocations: 0 / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002188/0.007158, allocations: 177.2 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.007187, allocations: 77.11 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.007653, allocations: 0.7175 MB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.007666, allocations: 33.7 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.007807, allocations: 302.8 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.00784, allocations: 39.72 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.007873, allocations: 31.36 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.00802, allocations: 0.5626 MB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.008046, allocations: 11.98 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.00809, allocations: 62.3 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.00816, allocations: 79.17 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008162, allocations: 4 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001366/0.008298, allocations: 149.3 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.008307, allocations: 4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.008311, allocations: 3.938 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.008321, allocations: 7.984 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.008389, allocations: 23.94 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.008395, allocations: 4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.008443, allocations: 11.94 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.008449, allocations: 4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.679e-05/0.008536, allocations: 173.2 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.008574, allocations: 55.67 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.008752, allocations: 173.8 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008755, allocations: 0 / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.008757, allocations: 0 / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.008762, allocations: 4 kB / 385.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.008961, allocations: 316.4 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008962, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.008987, allocations: 12 kB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008989, allocations: 0 / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.008996, allocations: 8.25 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.008999, allocations: 3.938 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.009001, allocations: 7.938 kB / 385.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.009156, allocations: 207.7 kB / 386 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.009207, allocations: 63.66 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.009232, allocations: 0 / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.00927, allocations: 11.92 kB / 386 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.009298, allocations: 15.92 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.00931, allocations: 8 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003036/0.009614, allocations: 486.7 kB / 386.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009614, allocations: 0 / 386.5 MB, free: 9.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.009782, allocations: 48 kB / 386.6 MB, free: 9.695 MB / 362.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000772/0.01055, allocations: 397.4 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01068, allocations: 75.58 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01068, allocations: 0 / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.01074, allocations: 43.61 kB / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01098, allocations: 66.27 kB / 387.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.01158, allocations: 0.6715 MB / 387.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.927e-05/0.01166, allocations: 132.2 kB / 388 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.01172, allocations: 38.95 kB / 388 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.01177, allocations: 36.48 kB / 388 MB, free: 8.32 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01177, allocations: 0 / 388 MB, free: 8.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005894/0.01766, allocations: 4.304 MB / 392.3 MB, free: 4.059 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.020939825102687]