Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.0009981/0.0009981, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.0009491/0.0009491, allocations: 169 kB / 23.8 MB, free: 0.7695 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.9768/0.9768, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1359/0.1359, 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.547e-05, allocations: 12.16 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001878/0.001904, allocations: 1.703 MB / 349.4 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.002777, allocations: 0.7765 MB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.002847, allocations: 0 / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.003169, allocations: 51.75 kB / 350.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.00339, allocations: 67.69 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.003579, allocations: 79.7 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.003733, allocations: 99.62 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.003769, allocations: 4 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.00385, allocations: 51.77 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.003922, allocations: 23.92 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.00394, allocations: 4 kB / 350.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.004013, allocations: 39.91 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.004078, allocations: 23.92 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.004116, allocations: 15.94 kB / 350.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.004284, allocations: 99.59 kB / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004287, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004288, allocations: 0 / 350.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.004293, allocations: 0 / 350.8 MB, free: 6.32 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.000419/0.004713, allocations: 463.8 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.004749, allocations: 11.97 kB / 351.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.004796, allocations: 16.84 kB / 351.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.004938, allocations: 152.4 kB / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.004955, allocations: 8.375 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.004967, allocations: 384 / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.005091, allocations: 58.94 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.005101, allocations: 3.938 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.00511, allocations: 3.938 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.005118, allocations: 4 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.246e-05/0.00515, allocations: 7.984 kB / 351.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.005288, allocations: 148.7 kB / 351.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.005391, allocations: 51.05 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.005422, allocations: 23.67 kB / 351.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.005439, allocations: 3.984 kB / 351.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.026e-05/0.00553, allocations: 65.05 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005531, allocations: 0 / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.005727, allocations: 93.45 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.00575, allocations: 55.41 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.005875, allocations: 265.4 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005884, allocations: 25.7 kB / 352.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.005927, allocations: 166.9 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.005955, allocations: 19.83 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.005989, allocations: 23.38 kB / 352.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.006044, allocations: 0.5001 MB / 352.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.006064, allocations: 11.98 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.00609, allocations: 27.36 kB / 352.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.516e-05/0.006135, allocations: 51.55 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006137, allocations: 0 / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.702e-05/0.006214, allocations: 77.53 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006227, allocations: 4 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.006235, allocations: 7.969 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.00625, allocations: 0 / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.006317, allocations: 12 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.006324, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.006353, allocations: 0 / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.006358, allocations: 4 kB / 353.1 MB, free: 3.766 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.968e-05/0.006417, allocations: 164.6 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.006431, allocations: 15.91 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.006546, allocations: 86.7 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.00655, allocations: 4 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.006555, allocations: 4 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.00656, allocations: 0 / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.008e-05/0.00664, allocations: 156.6 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006641, allocations: 3.938 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.006657, allocations: 4 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.006659, allocations: 4 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.006666, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006667, allocations: 3.938 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006668, allocations: 0 / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.022e-05/0.006748, allocations: 116.3 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.006763, allocations: 19.84 kB / 353.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.006778, allocations: 4.188 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.006798, allocations: 15.92 kB / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.00683, allocations: 0 / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.006841, allocations: 4 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.272e-05/0.006914, allocations: 188.4 kB / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006914, allocations: 0 / 353.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.007064, allocations: 23.94 kB / 353.9 MB, free: 2.887 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.0007785/0.007843, allocations: 397.4 kB / 354.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.007955, allocations: 39.61 kB / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.007956, allocations: 0 / 354.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.007986, allocations: 23.67 kB / 354.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.008178, allocations: 33.08 kB / 354.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.008507, allocations: 229.8 kB / 354.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.111e-05/0.008538, allocations: 75.33 kB / 354.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.008567, allocations: 8.484 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.008595, allocations: 16.5 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.008595, allocations: 0 / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of Templates: time 0.003244/0.01184, allocations: 1.64 MB / 356.3 MB, free: 0.4961 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.112825248390436]