Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 196 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 251.6 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 44.92 MB / 351.6 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 71.89 kB / 495.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5369/0.5395, allocations: 64.25 MB / 0.5465 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003271/0.5427, allocations: 1.676 MB / 0.5481 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.5443, allocations: 0.8849 MB / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.5444, allocations: 0 / 0.549 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.5448, allocations: 83 kB / 0.549 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.5451, allocations: 77.66 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.5454, allocations: 113.9 kB / 0.5492 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.5455, allocations: 99.69 kB / 0.5493 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.5456, allocations: 2.469 kB / 0.5493 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.5457, allocations: 52.58 kB / 0.5494 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.5458, allocations: 63.64 kB / 0.5494 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.5458, allocations: 3.25 kB / 0.5494 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.092e-05/0.5459, allocations: 27.78 kB / 0.5495 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.546, allocations: 18.95 kB / 0.5495 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.5461, allocations: 35.8 kB / 0.5495 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5463, allocations: 104.2 kB / 0.5496 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5463, allocations: 4 kB / 0.5496 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5463, allocations: 0 / 0.5496 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.5463, allocations: 0 / 0.5496 GB, free: 10.81 MB / 398.1 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.0007961/0.5471, allocations: 420.2 kB / 0.55 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5471, allocations: 9.188 kB / 0.55 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.5472, allocations: 14 kB / 0.55 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.5476, allocations: 212.2 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5476, allocations: 1.531 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.5476, allocations: 9.156 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5478, allocations: 52.3 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5478, allocations: 4 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5478, allocations: 0 / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5478, allocations: 1.438 kB / 0.5503 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.5479, allocations: 15.86 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.5481, allocations: 183.9 kB / 0.5505 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.5483, allocations: 49.78 kB / 0.5505 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.5484, allocations: 23.84 kB / 0.5506 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5484, allocations: 1.062 kB / 0.5506 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.5486, allocations: 67.69 kB / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.5486, allocations: 0 / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.5489, allocations: 95.69 kB / 0.5507 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.5489, allocations: 56.62 kB / 0.5508 GB, free: 9.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.5491, allocations: 212.2 kB / 0.551 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.5492, allocations: 26.98 kB / 0.551 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.5492, allocations: 105.4 kB / 0.5511 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5493, allocations: 10.69 kB / 0.5511 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.5493, allocations: 19.22 kB / 0.5511 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5495, allocations: 325.5 kB / 0.5514 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.5495, allocations: 24.77 kB / 0.5515 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.5496, allocations: 26.83 kB / 0.5515 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.5497, allocations: 47.64 kB / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5497, allocations: 0 / 0.5515 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.5499, allocations: 87.56 kB / 0.5516 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5499, allocations: 9.859 kB / 0.5516 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5499, allocations: 0 / 0.5516 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5499, allocations: 5.281 kB / 0.5516 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.55, allocations: 9.125 kB / 0.5516 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.55, allocations: 1.125 kB / 0.5516 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.55, allocations: 6.188 kB / 0.5517 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5501, allocations: 5.219 kB / 0.5517 GB, free: 8.816 MB / 398.1 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.0001415/0.5502, allocations: 129.5 kB / 0.5518 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.5502, allocations: 16.94 kB / 0.5518 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.5504, allocations: 98.84 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5504, allocations: 5.125 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5505, allocations: 0 / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5505, allocations: 1.25 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.5506, allocations: 193.8 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5506, allocations: 0 / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.5507, allocations: 3.156 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5507, allocations: 1.156 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5507, allocations: 5.172 kB / 0.5521 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5507, allocations: 0 / 0.5521 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5507, allocations: 1.094 kB / 0.5521 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.5509, allocations: 114.3 kB / 0.5522 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.5509, allocations: 91.27 kB / 0.5523 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.551, allocations: 1.25 kB / 0.5523 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.551, allocations: 1.062 kB / 0.5523 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.551, allocations: 10.67 kB / 0.5523 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5511, allocations: 2.312 kB / 0.5523 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.5512, allocations: 155.8 kB / 0.5524 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5512, allocations: 4 kB / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.5514, allocations: 16.88 kB / 0.5525 GB, free: 8.055 MB / 398.1 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 (5): * Single equations (assignments): 3 * 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.001499/0.5529, allocations: 416.7 kB / 0.5529 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.5531, allocations: 34.42 kB / 0.5529 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5531, allocations: 3.938 kB / 0.5529 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.5532, allocations: 18.98 kB / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.5534, allocations: 38.52 kB / 0.553 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.554, allocations: 229 kB / 0.5532 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.5544, allocations: 0.7036 MB / 0.5539 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.5544, allocations: 11.58 kB / 0.5539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.5544, allocations: 13.84 kB / 0.5539 GB, free: 6.914 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5544, allocations: 0 / 0.5539 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Templates: time 0.004979/0.5594, allocations: 1.518 MB / 0.5554 GB, free: 6.133 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.490356786176562]