Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.0009376/0.0009376, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009428/0.0009428, allocations: 165 kB / 24.56 MB, free: 8 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.9335/0.9335, allocations: 177.1 MB / 205 MB, free: 5.617 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.2785/0.2785, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.586e-05, allocations: 6.25 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001843/0.001859, allocations: 1.715 MB / 377.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.002929, allocations: 0.9975 MB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.002983, allocations: 4 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.003237, allocations: 47.75 kB / 378.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.003475, allocations: 111.5 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.003585, allocations: 71.67 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.003714, allocations: 107.6 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.003748, allocations: 8.219 kB / 379.2 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.003818, allocations: 43.91 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.003877, allocations: 31.84 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.003891, allocations: 4 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.34e-05/0.003944, allocations: 27.98 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.003989, allocations: 35.86 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.004021, allocations: 19.88 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.004159, allocations: 95.66 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004161, allocations: 0 / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004161, allocations: 0 / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004165, allocations: 0 / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000414/0.004579, allocations: 479.6 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.004613, allocations: 12.03 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.004659, allocations: 12.84 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.004814, allocations: 161.3 kB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.004831, allocations: 12.38 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.00484, allocations: 4.312 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.004945, allocations: 58.92 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.004953, allocations: 3.938 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004962, allocations: 0 / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.004971, allocations: 4 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.005002, allocations: 11.98 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.005139, allocations: 152.6 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.005235, allocations: 51.05 kB / 380.3 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.00526, allocations: 19.67 kB / 380.4 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.005274, allocations: 4 kB / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.419e-05/0.005359, allocations: 61.05 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.00536, allocations: 0 / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001691/0.005529, allocations: 97.52 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.00556, allocations: 55.45 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.005714, allocations: 274.7 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005725, allocations: 25.7 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.005784, allocations: 166.9 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.00581, allocations: 11.91 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.005838, allocations: 27.38 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.005954, allocations: 0.504 MB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.005971, allocations: 8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.005996, allocations: 27.36 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.006038, allocations: 35.38 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00604, allocations: 0 / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.5e-05/0.006115, allocations: 77.78 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.006126, allocations: 8 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006131, allocations: 12.03 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.006141, allocations: 0 / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.006194, allocations: 11.98 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.0062, allocations: 7.938 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.006257, allocations: 3.828 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.006269, allocations: 4 kB / 381.8 MB, free: 14.67 MB / 362.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 (7): * Single equations (assignments): 7 * 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.195e-05/0.006341, allocations: 159.5 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.006361, allocations: 15.91 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.006492, allocations: 90.75 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006493, allocations: 0 / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.006497, allocations: 8 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.0065, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.655e-05/0.006596, allocations: 164.5 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006597, allocations: 0 / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.006619, allocations: 11.94 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006621, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006627, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006629, allocations: 3.938 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006629, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/0.006725, allocations: 120.3 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.00674, allocations: 11.91 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.006755, allocations: 8 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.006776, allocations: 3.938 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.006804, allocations: 11.97 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.006813, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.96e-05/0.006903, allocations: 196.5 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006903, allocations: 0 / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.007034, allocations: 20 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007088/0.007743, allocations: 391.6 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.007833, allocations: 39.66 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007834, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.007863, allocations: 27.62 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.008028, allocations: 31.75 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.008331, allocations: 242.5 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.44e-05/0.008365, allocations: 71.33 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.008391, allocations: 8.484 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.008416, allocations: 16.5 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008416, allocations: 0 / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003082/0.0115, allocations: 1.792 MB / 385.2 MB, free: 11.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.0462256940081716]