Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.002159/0.002159, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.002978/0.002978, allocations: 161.7 kB / 23.52 MB, free: 0.9219 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 1.689/1.689, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2402/0.2402, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.684e-05, allocations: 2.312 kB / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.006407/0.006444, allocations: 1.656 MB / 348.7 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.009841, allocations: 0.7454 MB / 349.4 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.009951, allocations: 7.938 kB / 349.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.01043, allocations: 59.8 kB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.01087, allocations: 79.61 kB / 349.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.01128, allocations: 79.7 kB / 349.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.01153, allocations: 99.67 kB / 349.7 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.0116, allocations: 4 kB / 349.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.0118, allocations: 55.83 kB / 349.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.01194, allocations: 43.88 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.01197, allocations: 4 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.01208, allocations: 31.88 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.01215, allocations: 23.91 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.895e-05/0.01222, allocations: 23.92 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.01248, allocations: 95.59 kB / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01248, allocations: 0 / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01249, allocations: 0 / 350 MB, free: 6.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.01249, allocations: 4 kB / 350 MB, free: 6.715 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006435/0.01314, allocations: 325.7 kB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.01318, allocations: 12.03 kB / 350.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.01327, allocations: 16.89 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.01364, allocations: 145.5 kB / 350.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.01366, allocations: 384 / 350.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.01368, allocations: 8.375 kB / 350.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.01387, allocations: 54.17 kB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01389, allocations: 3.938 kB / 350.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.0139, allocations: 0 / 350.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.01391, allocations: 4 kB / 350.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.01403, allocations: 19.92 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.01426, allocations: 125.3 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.01452, allocations: 46.62 kB / 350.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.01461, allocations: 20.84 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.01463, allocations: 8 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.01483, allocations: 71.28 kB / 350.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.01484, allocations: 0 / 350.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004945/0.01533, allocations: 105.5 kB / 351 MB, free: 5.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.01537, allocations: 55.41 kB / 351 MB, free: 5.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.01561, allocations: 186.3 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.01562, allocations: 25.7 kB / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.01568, allocations: 96.14 kB / 351.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.01573, allocations: 19.89 kB / 351.3 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.01578, allocations: 21.66 kB / 351.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.01587, allocations: 326.8 kB / 351.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.01596, allocations: 19.97 kB / 351.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.01605, allocations: 25.72 kB / 351.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.01623, allocations: 45.7 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.01623, allocations: 0 / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002685/0.0165, allocations: 89.56 kB / 351.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.01653, allocations: 4 kB / 351.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.01654, allocations: 3.938 kB / 351.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.01657, allocations: 4.031 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.0167, allocations: 12.31 kB / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.01671, allocations: 3.984 kB / 351.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.0168, allocations: 3.984 kB / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.01681, allocations: 8 kB / 351.9 MB, free: 4.652 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 (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 0.0001276/0.01694, allocations: 122.8 kB / 352 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.01698, allocations: 23.89 kB / 352 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.0173, allocations: 94.08 kB / 352.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01731, allocations: 0 / 352.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.01731, allocations: 4 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01732, allocations: 0 / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01745, allocations: 129.3 kB / 352.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01745, allocations: 0 / 352.2 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.01749, allocations: 7.984 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.0175, allocations: 3.938 kB / 352.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01751, allocations: 4 kB / 352.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01752, allocations: 3.938 kB / 352.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01752, allocations: 0 / 352.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.01781, allocations: 121 kB / 352.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.01784, allocations: 7.891 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.01787, allocations: 8 kB / 352.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.01795, allocations: 11.92 kB / 352.4 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.01801, allocations: 4 kB / 352.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.01803, allocations: 0 / 352.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.01817, allocations: 144.1 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01817, allocations: 0 / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003915/0.01857, allocations: 16 kB / 352.6 MB, free: 3.898 MB / 282.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.002863/0.02143, allocations: 432.5 kB / 353 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.02168, allocations: 55.91 kB / 353.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02168, allocations: 0 / 353.1 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.02178, allocations: 19.98 kB / 353.1 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.02224, allocations: 29.59 kB / 353.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.02286, allocations: 223.5 kB / 353.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.02294, allocations: 87.25 kB / 353.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.325e-05/0.02302, allocations: 20.53 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.02306, allocations: 12.5 kB / 353.4 MB, free: 3.098 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02306, allocations: 0 / 353.4 MB, free: 3.098 MB / 282.7 MB Notification: Performance of Templates: time 0.007319/0.03038, allocations: 1.606 MB / 355 MB, free: 1.504 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.381283013033681]