Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.001221/0.001221, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001082/0.001082, allocations: 163.4 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8971/0.8971, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1437/0.1437, allocations: 32.38 MB / 271.5 MB, free: 14.41 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.603e-05, allocations: 2.312 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002931/0.002957, allocations: 1.725 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004453, allocations: 0.7842 MB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.004583, allocations: 0 / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.005038, allocations: 47.7 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.005337, allocations: 51.77 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.005639, allocations: 87.62 kB / 351.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.005842, allocations: 103.6 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.005962, allocations: 12.22 kB / 351.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.006074, allocations: 43.89 kB / 351.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.006155, allocations: 23.92 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.006174, allocations: 4 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.006267, allocations: 43.92 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.006321, allocations: 31.84 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.006358, allocations: 15.92 kB / 352 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.006546, allocations: 103.6 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.006551, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006552, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.006558, allocations: 4 kB / 352.1 MB, free: 5.992 MB / 282.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.0004684/0.007026, allocations: 439.9 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.007072, allocations: 8.031 kB / 352.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.007124, allocations: 16.88 kB / 352.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.007315, allocations: 144.4 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.007337, allocations: 384 / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.007359, allocations: 8.328 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.007529, allocations: 62.88 kB / 352.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.007545, allocations: 7.875 kB / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.007557, allocations: 0 / 352.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.007567, allocations: 4 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.007608, allocations: 11.98 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.007977, allocations: 256.4 kB / 353 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.008113, allocations: 55.05 kB / 353.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.008144, allocations: 23.72 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.008163, allocations: 0 / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.008305, allocations: 64.98 kB / 353.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.008306, allocations: 0 / 353.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004268/0.008733, allocations: 145.4 kB / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.00876, allocations: 51.41 kB / 353.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.00887, allocations: 220 kB / 353.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.008882, allocations: 25.7 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.008928, allocations: 154.8 kB / 353.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.008958, allocations: 19.8 kB / 353.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.009002, allocations: 35.34 kB / 353.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.009065, allocations: 0.4962 MB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.009091, allocations: 11.94 kB / 354.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.009123, allocations: 31.34 kB / 354.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.009179, allocations: 47.36 kB / 354.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009181, allocations: 0 / 354.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001249/0.009305, allocations: 97.52 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.009322, allocations: 8 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.009328, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.009339, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.00943, allocations: 15.98 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.009434, allocations: 0 / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.009476, allocations: 4 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.009484, allocations: 7.938 kB / 354.5 MB, free: 3.344 MB / 282.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 7.66e-05/0.009561, allocations: 160.6 kB / 354.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.009584, allocations: 19.84 kB / 354.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.009794, allocations: 102.4 kB / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.009797, allocations: 0 / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.0098, allocations: 0 / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.009805, allocations: 4 kB / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.01013, allocations: 361.5 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.01013, allocations: 0 / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.01018, allocations: 8 kB / 355.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01018, allocations: 8.406 kB / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01019, allocations: 0 / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01019, allocations: 4 kB / 355.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01019, allocations: 0 / 355.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.01036, allocations: 259.4 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01038, allocations: 11.94 kB / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.0104, allocations: 4 kB / 355.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.01047, allocations: 4 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.01051, allocations: 3.984 kB / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.01052, allocations: 4 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.0106, allocations: 164 kB / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0106, allocations: 0 / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000281/0.01088, allocations: 23.94 kB / 355.6 MB, free: 2.148 MB / 282.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.001345/0.01222, allocations: 436.8 kB / 356 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.01235, allocations: 51.53 kB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01235, allocations: 0 / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.01239, allocations: 31.66 kB / 356.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.01275, allocations: 43.94 kB / 356.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.01311, allocations: 213.3 kB / 356.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.01315, allocations: 67.34 kB / 356.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.01319, allocations: 12.48 kB / 356.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.01326, allocations: 86.19 kB / 356.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01326, allocations: 4 kB / 356.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Templates: time 0.004804/0.01806, allocations: 2.035 MB / 358.6 MB, free: 15.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.290720114018768]