Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009533/0.0009533, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009417/0.0009417, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9872/0.9872, 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.1636/0.1636, allocations: 32.38 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.816e-05, allocations: 10.25 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002256/0.002284, allocations: 1.876 MB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003369, allocations: 0.8894 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.003451, allocations: 4 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.00383, allocations: 159.4 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.004089, allocations: 135.5 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004343, allocations: 159.5 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.004535, allocations: 219.3 kB / 351.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.004635, allocations: 17.8 kB / 351.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004747, allocations: 123.7 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.004868, allocations: 119.7 kB / 351.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.004889, allocations: 8 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.004967, allocations: 47.92 kB / 351.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.005029, allocations: 47.83 kB / 351.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.005077, allocations: 39.8 kB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.005272, allocations: 159.4 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005275, allocations: 7.938 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005276, allocations: 4 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005281, allocations: 0 / 351.7 MB, free: 5.359 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004479/0.005729, allocations: 0.5459 MB / 352.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.005765, allocations: 8.031 kB / 352.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.005819, allocations: 24.8 kB / 352.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.006011, allocations: 203.6 kB / 352.5 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.006033, allocations: 4.375 kB / 352.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.006062, allocations: 4.375 kB / 352.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.006246, allocations: 114.2 kB / 352.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.006257, allocations: 3.938 kB / 352.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.00627, allocations: 3.984 kB / 352.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.006278, allocations: 7.938 kB / 352.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.006327, allocations: 19.98 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.006639, allocations: 482.6 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.006772, allocations: 110.2 kB / 353.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.006813, allocations: 39.36 kB / 353.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.006829, allocations: 4 kB / 353.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.006948, allocations: 112.3 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.006949, allocations: 0 / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005124/0.007462, allocations: 317.3 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.007488, allocations: 81.11 kB / 353.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.007656, allocations: 338.3 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.007667, allocations: 29.7 kB / 354.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.007722, allocations: 199 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.007756, allocations: 55.62 kB / 354.4 MB, free: 2.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.007793, allocations: 43.36 kB / 354.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.00785, allocations: 0.5117 MB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.007888, allocations: 24.17 kB / 355 MB, free: 1.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.007937, allocations: 77.81 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/0.008023, allocations: 98.81 kB / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008024, allocations: 0 / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001583/0.008182, allocations: 161.4 kB / 355.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.008195, allocations: 4 kB / 355.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.0082, allocations: 4 kB / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.008215, allocations: 0 / 355.3 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.606e-05/0.008311, allocations: 35.92 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.008317, allocations: 0 / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.008359, allocations: 11.98 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.008367, allocations: 4 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.346e-05/0.008431, allocations: 184.4 kB / 355.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.008455, allocations: 35.81 kB / 355.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.008663, allocations: 179.4 kB / 355.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.008667, allocations: 4 kB / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008671, allocations: 0 / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.008675, allocations: 0 / 355.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.009044, allocations: 0.6442 MB / 356.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009047, allocations: 4 kB / 356.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.009086, allocations: 23.92 kB / 356.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.009088, allocations: 0 / 356.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.009098, allocations: 8.062 kB / 356.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.009102, allocations: 4.312 kB / 356.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.009105, allocations: 3.938 kB / 356.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.009333, allocations: 466.1 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.009354, allocations: 19.86 kB / 356.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.009379, allocations: 11.98 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.009453, allocations: 4 kB / 356.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.009501, allocations: 23.91 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.009517, allocations: 4 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.009648, allocations: 239 kB / 357.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009648, allocations: 4 kB / 357.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.009867, allocations: 43.89 kB / 357.2 MB, free: 15.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008982/0.01076, allocations: 444.2 kB / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01092, allocations: 91.02 kB / 357.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01092, allocations: 4 kB / 357.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.311e-05/0.01099, allocations: 55.59 kB / 357.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.01133, allocations: 65.12 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.01181, allocations: 400.6 kB / 358.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.231e-05/0.01187, allocations: 95.95 kB / 358.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.01192, allocations: 34.17 kB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.01197, allocations: 24.5 kB / 358.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01197, allocations: 4 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.004669/0.01664, allocations: 2.914 MB / 361.4 MB, free: 11.4 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.3607292459346354]