Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0009028/0.0009028, allocations: 80.31 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.0009548/0.0009548, allocations: 170 kB / 25.61 MB, free: 8.539 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.8916/0.8916, allocations: 177.1 MB / 206 MB, free: 4.504 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.1324/0.1324, allocations: 34.27 MB / 296.9 MB, free: 13.92 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.487e-05, allocations: 5.547 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.001776/0.001791, allocations: 1.944 MB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.002774, allocations: 1.021 MB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.00286, allocations: 11.94 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.003093, allocations: 43.64 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.003314, allocations: 107.3 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.003601, allocations: 95.64 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.003827, allocations: 155.5 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003949, allocations: 21.78 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.004041, allocations: 71.81 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.00411, allocations: 39.83 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.004125, allocations: 8 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.139e-05/0.004186, allocations: 55.86 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.004226, allocations: 27.84 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.004259, allocations: 27.92 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.004408, allocations: 123.5 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.00441, allocations: 4 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004411, allocations: 4 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004414, allocations: 0 / 383.1 MB, free: 19.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003418/0.004756, allocations: 0.5051 MB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.004783, allocations: 8.031 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.004818, allocations: 20.84 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.004939, allocations: 177.1 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.004953, allocations: 8.375 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.004968, allocations: 4.375 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.005077, allocations: 139.6 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.005085, allocations: 3.938 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.005094, allocations: 8 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.005098, allocations: 0 / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.00513, allocations: 23.91 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.005395, allocations: 0.5567 MB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.005532, allocations: 67.09 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.005554, allocations: 23.67 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.005563, allocations: 0 / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.93e-05/0.005642, allocations: 102.7 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 6.81e-07/0.005643, allocations: 0 / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001523/0.005795, allocations: 101.5 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.005814, allocations: 59.34 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.005901, allocations: 244.9 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.005911, allocations: 29.7 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.005956, allocations: 170.7 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.00597, allocations: 23.78 kB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.006, allocations: 35.36 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.006055, allocations: 0.5039 MB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.006072, allocations: 11.94 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.006106, allocations: 58.41 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.006158, allocations: 86.67 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.00616, allocations: 0 / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001023/0.006262, allocations: 113.3 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006275, allocations: 9.719 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.006279, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.006289, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.006347, allocations: 23.98 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.006351, allocations: 8.109 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.322e-05/0.006384, allocations: 11.94 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.006389, allocations: 4 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.103e-05/0.00644, allocations: 168.5 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.006456, allocations: 19.91 kB / 386.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.006559, allocations: 103 kB / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.006561, allocations: 4 kB / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006562, allocations: 0 / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006567, allocations: 7.984 kB / 386.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.101e-05/0.006638, allocations: 133.1 kB / 386.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.00664, allocations: 7.984 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.006683, allocations: 8 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006684, allocations: 4 kB / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006692, allocations: 4 kB / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006693, allocations: 0 / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006694, allocations: 0 / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.006806, allocations: 152.2 kB / 386.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.006817, allocations: 11.91 kB / 386.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.006831, allocations: 0 / 386.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.006856, allocations: 7.984 kB / 386.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.00688, allocations: 16.02 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.00689, allocations: 4 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.209e-05/0.006932, allocations: 171.1 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006932, allocations: 0 / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001539/0.007086, allocations: 27.94 kB / 387 MB, free: 15.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007067/0.007793, allocations: 383.4 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007893, allocations: 63.52 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007895, allocations: 0 / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.007925, allocations: 31.61 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.008096, allocations: 47.38 kB / 387.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.008366, allocations: 270 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.221e-05/0.008388, allocations: 67.83 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.008427, allocations: 21.47 kB / 387.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.008486, allocations: 94.19 kB / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008487, allocations: 0 / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Templates: time 0.0034/0.01189, allocations: 2.278 MB / 390.3 MB, free: 12.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 2.9170973510481417]