Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001278/0.001278, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.0009025/0.0009025, allocations: 167.5 kB / 24.99 MB, free: 8.285 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 4.602 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.1793/0.1793, allocations: 34.26 MB / 296.1 MB, free: 14.15 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 378.1 MB, free: 23.95 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.428e-05, allocations: 6.312 kB / 378.1 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002589/0.002624, allocations: 1.838 MB / 379.9 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.004472, allocations: 1.785 MB / 381.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.004612, allocations: 7.938 kB / 381.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.00503, allocations: 55.56 kB / 381.8 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.00551, allocations: 147.2 kB / 381.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.005769, allocations: 103.6 kB / 382 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.006066, allocations: 207.3 kB / 382.2 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.006141, allocations: 9.75 kB / 382.3 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.006299, allocations: 119.6 kB / 382.4 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.006473, allocations: 63.8 kB / 382.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.006499, allocations: 12 kB / 382.4 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.006694, allocations: 99.88 kB / 382.5 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.006757, allocations: 47.77 kB / 382.6 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.006808, allocations: 31.91 kB / 382.6 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.007098, allocations: 203.2 kB / 382.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.007106, allocations: 0 / 382.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007107, allocations: 0 / 382.8 MB, free: 19.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.007113, allocations: 0 / 382.8 MB, free: 19.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006325/0.007745, allocations: 0.5266 MB / 383.3 MB, free: 18.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.007785, allocations: 8.031 kB / 383.4 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.007859, allocations: 24.84 kB / 383.4 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.008107, allocations: 188.2 kB / 383.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.008137, allocations: 4.375 kB / 383.6 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.008153, allocations: 4.359 kB / 383.6 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.008348, allocations: 173 kB / 383.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.008359, allocations: 3.938 kB / 383.7 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.008373, allocations: 3.984 kB / 383.7 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.008385, allocations: 0 / 383.7 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.008442, allocations: 19.98 kB / 383.8 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.008623, allocations: 172.3 kB / 383.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.008811, allocations: 98.16 kB / 384 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.008875, allocations: 35.34 kB / 384.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.008893, allocations: 0 / 384.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.009067, allocations: 116.3 kB / 384.2 MB, free: 17.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.01e-07/0.009068, allocations: 4 kB / 384.2 MB, free: 17.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003512/0.009419, allocations: 141.4 kB / 384.3 MB, free: 17.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.009469, allocations: 132.5 kB / 384.4 MB, free: 17.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.009659, allocations: 286.6 kB / 384.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.009675, allocations: 29.7 kB / 384.8 MB, free: 17.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.009723, allocations: 166.8 kB / 384.9 MB, free: 16.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.009769, allocations: 19.86 kB / 384.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.009825, allocations: 39.36 kB / 385 MB, free: 16.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.009928, allocations: 0.4962 MB / 385.5 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.00997, allocations: 19.98 kB / 385.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.01004, allocations: 125.5 kB / 385.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.01013, allocations: 74.67 kB / 385.7 MB, free: 16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01013, allocations: 4 kB / 385.7 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001534/0.01028, allocations: 122 kB / 385.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.0103, allocations: 8 kB / 385.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.01031, allocations: 7.938 kB / 385.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.01034, allocations: 0 / 385.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01044, allocations: 28.08 kB / 385.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.01045, allocations: 0 / 385.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.01051, allocations: 15.88 kB / 385.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01052, allocations: 4 kB / 385.9 MB, free: 15.81 MB / 314.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.851e-05/0.01061, allocations: 168.6 kB / 386 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.01064, allocations: 23.86 kB / 386.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.01086, allocations: 142.6 kB / 386.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01086, allocations: 4 kB / 386.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01087, allocations: 0 / 386.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01087, allocations: 0 / 386.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.011, allocations: 176.6 kB / 386.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01101, allocations: 0 / 386.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.01104, allocations: 8 kB / 386.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01104, allocations: 0 / 386.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01106, allocations: 7.984 kB / 386.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01106, allocations: 3.938 kB / 386.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01106, allocations: 0 / 386.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.01123, allocations: 187.9 kB / 386.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.01126, allocations: 15.84 kB / 386.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.01129, allocations: 8 kB / 386.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.01134, allocations: 15.92 kB / 386.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.01139, allocations: 11.98 kB / 386.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.0114, allocations: 4.125 kB / 386.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01151, allocations: 205.7 kB / 386.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0 / 386.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.01174, allocations: 59.86 kB / 386.9 MB, free: 14.71 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001216/0.01296, allocations: 0.4936 MB / 387.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.01318, allocations: 67.59 kB / 387.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.01318, allocations: 0 / 387.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.01325, allocations: 39.67 kB / 387.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.01357, allocations: 70.91 kB / 387.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.01412, allocations: 288.3 kB / 387.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.812e-05/0.01416, allocations: 75.84 kB / 387.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.898e-05/0.01424, allocations: 37.39 kB / 388 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.01429, allocations: 32.48 kB / 388 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 1.903e-06/0.01429, allocations: 0 / 388 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Templates: time 0.005503/0.0198, allocations: 3.441 MB / 391.4 MB, free: 10.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.493594448082149]