Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001474/0.001474, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00182/0.00182, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2999/0.2999, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.21e-07/9.21e-07, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.763e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002443/0.002471, allocations: 1.638 MB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.003224, allocations: 0.5375 MB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.003281, allocations: 0 / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.003512, allocations: 19.86 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.003764, allocations: 83.55 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.004002, allocations: 119.5 kB / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.004139, allocations: 67.78 kB / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.00422, allocations: 8 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.00427, allocations: 35.89 kB / 380.5 MB, free: 464 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.004312, allocations: 7.984 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.004324, allocations: 4 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.004384, allocations: 31.94 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.004423, allocations: 15.91 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.00445, allocations: 11.94 kB / 380.6 MB, free: 392 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.00458, allocations: 67.75 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004583, allocations: 4 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004584, allocations: 4 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004588, allocations: 0 / 380.7 MB, free: 316 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004094/0.004997, allocations: 412.1 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.005035, allocations: 11.97 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.005077, allocations: 8.891 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.005211, allocations: 138.3 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.00522, allocations: 384 / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.005242, allocations: 12.36 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005347, allocations: 50.95 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005357, allocations: 192 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.005367, allocations: 12.12 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.005374, allocations: 0 / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.005405, allocations: 4 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.005708, allocations: 271.8 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.00589, allocations: 47.03 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.005906, allocations: 11.69 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.005918, allocations: 3.938 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.00594, allocations: 45.47 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.005941, allocations: 0 / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003299/0.006271, allocations: 105.4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.006303, allocations: 51.41 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.006423, allocations: 204.5 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.006434, allocations: 25.7 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.006496, allocations: 138.9 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.00652, allocations: 23.73 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.006554, allocations: 27.36 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.006693, allocations: 0.4884 MB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.00671, allocations: 7.984 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.006723, allocations: 8.062 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.006759, allocations: 27.69 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.006759, allocations: 0 / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.239e-05/0.006832, allocations: 65.58 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.006845, allocations: 4 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.00685, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006863, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.694e-05/0.0069, allocations: 15.92 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.00691, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.006924, allocations: 3.938 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.006929, allocations: 0 / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.37e-05/0.007003, allocations: 164.6 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.00702, allocations: 11.89 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.007137, allocations: 70.12 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007138, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007142, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007146, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.007388, allocations: 329.3 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007388, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.007414, allocations: 12.3 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.007415, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.007425, allocations: 4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007426, allocations: 4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.007427, allocations: 4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.007534, allocations: 211.8 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.00754, allocations: 3.953 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.007553, allocations: 8 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.007581, allocations: 0 / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.007612, allocations: 7.984 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.007614, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.951e-05/0.007674, allocations: 145.8 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007674, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.007844, allocations: 19.98 kB / 383.8 MB, free: 12.86 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009132/0.008758, allocations: 387.5 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.008845, allocations: 27.62 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008846, allocations: 4 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.00887, allocations: 23.67 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.009085, allocations: 23.92 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.009424, allocations: 178.5 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.009463, allocations: 63.34 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.009497, allocations: 7.984 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.009521, allocations: 16.5 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009522, allocations: 4 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003024/0.01255, allocations: 1.173 MB / 385.7 MB, free: 11.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.220604110043496]