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.0008275/0.0008275, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001085/0.001085, allocations: 165 kB / 23.8 MB, free: 0.7773 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.067/1.067, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1643/0.1643, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.494e-05, allocations: 6.25 kB / 347.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002082/0.002107, allocations: 1.705 MB / 349.5 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.003004, allocations: 0.7804 MB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.003079, allocations: 0 / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.003402, allocations: 63.67 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.003627, allocations: 67.67 kB / 350.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.003826, allocations: 75.77 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.003974, allocations: 111.6 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.004012, allocations: 7.938 kB / 350.6 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.004093, allocations: 51.83 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.004179, allocations: 47.88 kB / 350.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.004201, allocations: 4 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.004273, allocations: 27.94 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.004319, allocations: 19.92 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.004357, allocations: 19.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.004509, allocations: 83.69 kB / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004513, allocations: 0 / 350.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.004514, allocations: 4 kB / 350.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004518, allocations: 0 / 350.8 MB, free: 6.301 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.000385/0.004903, allocations: 432 kB / 351.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.004938, allocations: 8.031 kB / 351.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.004985, allocations: 12.89 kB / 351.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.005131, allocations: 152.4 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.005156, allocations: 8.312 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.005167, allocations: 384 / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.00528, allocations: 54.94 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.005288, allocations: 3.938 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005298, allocations: 8 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.005306, allocations: 4 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.005334, allocations: 4 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.00546, allocations: 132.7 kB / 351.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.005555, allocations: 55.05 kB / 351.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.00558, allocations: 15.67 kB / 351.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.005591, allocations: 4 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.375e-05/0.005684, allocations: 69 kB / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.005686, allocations: 0 / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001817/0.005867, allocations: 89.5 kB / 351.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.00589, allocations: 55.41 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.005978, allocations: 220.1 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.005985, allocations: 29.7 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.006012, allocations: 146.9 kB / 352.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.006039, allocations: 15.91 kB / 352.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.006065, allocations: 23.38 kB / 352.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.006118, allocations: 0.4923 MB / 352.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.006141, allocations: 7.984 kB / 352.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.006167, allocations: 27.38 kB / 352.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.00621, allocations: 51.55 kB / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006212, allocations: 0 / 352.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.493e-05/0.006287, allocations: 65.64 kB / 353 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.0063, allocations: 8 kB / 353 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.006306, allocations: 3.938 kB / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.00632, allocations: 0 / 353 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.006388, allocations: 15.94 kB / 353 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.006394, allocations: 0 / 353 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.006425, allocations: 4 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.006431, allocations: 12.02 kB / 353 MB, free: 3.883 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 5.561e-05/0.006487, allocations: 156.6 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.0065, allocations: 19.91 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.006609, allocations: 86.02 kB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006611, allocations: 3.938 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.006614, allocations: 4 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006617, allocations: 0 / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.428e-05/0.006682, allocations: 144.5 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006683, allocations: 4 kB / 353.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.0067, allocations: 4 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006702, allocations: 4 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.006709, allocations: 3.984 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.00671, allocations: 3.938 kB / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.006711, allocations: 0 / 353.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.571e-05/0.006787, allocations: 112.5 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.006801, allocations: 15.94 kB / 353.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.006817, allocations: 4 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.263e-05/0.00684, allocations: 7.938 kB / 353.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.006869, allocations: 3.984 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.00688, allocations: 4 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.006926, allocations: 164 kB / 353.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006926, allocations: 3.938 kB / 353.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.007073, allocations: 20 kB / 353.8 MB, free: 3.055 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.0007236/0.007797, allocations: 384.3 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.007907, allocations: 35.67 kB / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.007909, allocations: 0 / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.00794, allocations: 27.61 kB / 354.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.008127, allocations: 29.17 kB / 354.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.008416, allocations: 193.3 kB / 354.4 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.337e-05/0.008439, allocations: 63.34 kB / 354.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.008468, allocations: 12.55 kB / 354.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.008494, allocations: 20.5 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008494, allocations: 0 / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of Templates: time 0.003353/0.01185, allocations: 1.738 MB / 356.2 MB, free: 0.6094 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] 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","",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.1882062470540404]