Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001281/0.001281, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.001045/0.001045, allocations: 161 kB / 23.79 MB, free: 0.7891 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.9859/0.9859, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1276/0.1276, allocations: 32.38 MB / 270.4 MB, free: 14.71 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.715e-05, allocations: 8.219 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001872/0.001899, allocations: 1.726 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.002697, allocations: 0.7998 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.002757, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.003029, allocations: 43.7 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.003212, allocations: 59.75 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.003375, allocations: 87.7 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.003518, allocations: 99.62 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.003608, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.003679, allocations: 55.81 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.704e-05/0.003746, allocations: 19.92 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.003763, allocations: 4 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.003831, allocations: 47.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.003882, allocations: 23.92 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.003921, allocations: 19.94 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.004077, allocations: 103.5 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004079, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00408, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004084, allocations: 0 / 350.8 MB, free: 6.254 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.0003934/0.004477, allocations: 447.9 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.004513, allocations: 12.03 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.004558, allocations: 12.84 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.004684, allocations: 149.8 kB / 351.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.004701, allocations: 4.375 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.004718, allocations: 8.312 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.004821, allocations: 62.94 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.004831, allocations: 3.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.004841, allocations: 7.984 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.004848, allocations: 0 / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.004878, allocations: 8 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.005133, allocations: 287.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.005234, allocations: 51.11 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.005265, allocations: 27.61 kB / 351.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.005277, allocations: 7.938 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.296e-05/0.00537, allocations: 65.05 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.005371, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003438/0.005714, allocations: 157.4 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.005738, allocations: 51.41 kB / 352.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.005836, allocations: 240 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.005846, allocations: 25.7 kB / 352.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.005884, allocations: 150.9 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005907, allocations: 27.75 kB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.005936, allocations: 31.36 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.005991, allocations: 0.504 MB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.006011, allocations: 8 kB / 353.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.006042, allocations: 35.38 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.006089, allocations: 51.3 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.00609, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.549e-05/0.006175, allocations: 93.56 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.006188, allocations: 8 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.006192, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.006205, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.006273, allocations: 20.02 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006279, allocations: 7.938 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.00631, allocations: 0 / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.006316, allocations: 4 kB / 353.4 MB, free: 3.504 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 4.912e-05/0.006365, allocations: 164.5 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.006378, allocations: 15.91 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.006509, allocations: 107.2 kB / 353.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.006511, allocations: 4 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006515, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006518, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.006725, allocations: 397 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006725, allocations: 0 / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.006748, allocations: 11.98 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.00675, allocations: 0 / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.006758, allocations: 4 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006759, allocations: 0 / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.006761, allocations: 0 / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.006861, allocations: 267.3 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.006871, allocations: 7.953 kB / 354.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.006889, allocations: 11.98 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.006924, allocations: 4.031 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.006959, allocations: 7.984 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.006973, allocations: 4.375 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.393e-05/0.007027, allocations: 171.8 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007027, allocations: 3.938 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.007183, allocations: 27.94 kB / 354.6 MB, free: 2.23 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.0007979/0.007981, allocations: 439.7 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.008097, allocations: 63.53 kB / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008099, allocations: 0 / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.008132, allocations: 27.67 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.008354, allocations: 39.83 kB / 355.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.008626, allocations: 221.4 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.617e-05/0.008652, allocations: 63.34 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.008682, allocations: 20.47 kB / 355.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.008707, allocations: 16.62 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008708, allocations: 4 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of Templates: time 0.003552/0.01226, allocations: 1.979 MB / 357.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.3691216679289937]