Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0009359/0.0009359, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009286/0.0009286, allocations: 168.4 kB / 25.61 MB, free: 8.922 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 0.8832/0.8832, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1632/0.1632, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.875e-05, allocations: 5.969 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001874/0.001893, allocations: 1.67 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.002483, allocations: 0.5453 MB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.002536, allocations: 3.938 kB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.002755, allocations: 91.67 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.002954, allocations: 115.5 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003136, allocations: 123.6 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003259, allocations: 103.7 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.003348, allocations: 19.97 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.003403, allocations: 55.89 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.735e-05/0.00348, allocations: 67.8 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003493, allocations: 7.984 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.003556, allocations: 43.92 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.003594, allocations: 23.92 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.003617, allocations: 27.86 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.003737, allocations: 107.6 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003739, allocations: 4 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.00374, allocations: 0 / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003744, allocations: 0 / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002776/0.004021, allocations: 463.7 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.004048, allocations: 12.03 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.004079, allocations: 24.84 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.004184, allocations: 152.4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.004192, allocations: 4.375 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.00421, allocations: 8.375 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.004292, allocations: 70.88 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.004301, allocations: 4.172 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.004309, allocations: 12.12 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.004313, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.004341, allocations: 19.97 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.004554, allocations: 296.2 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.506e-05/0.004609, allocations: 62.91 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.004625, allocations: 15.67 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.004639, allocations: 4 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.004653, allocations: 33.39 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.004653, allocations: 3.938 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004436/0.005097, allocations: 225.5 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.005116, allocations: 55.41 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.005205, allocations: 248.1 kB / 384 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.00521, allocations: 25.7 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.005245, allocations: 158.8 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.005269, allocations: 51.52 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.005299, allocations: 35.38 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.005344, allocations: 0.5039 MB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.005362, allocations: 16 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.005379, allocations: 11.98 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.005426, allocations: 51.03 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.005427, allocations: 4 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.692e-05/0.005514, allocations: 101.5 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.005523, allocations: 4 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.005528, allocations: 0 / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.005537, allocations: 3.984 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.005605, allocations: 24 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.005609, allocations: 3.984 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.005629, allocations: 8 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.005636, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.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 (13): * Single equations (assignments): 13 * 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.45e-05/0.00568, allocations: 164.5 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.005704, allocations: 19.91 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.005835, allocations: 119.8 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.005837, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.005838, allocations: 0 / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005841, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.006096, allocations: 401.4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006098, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.006146, allocations: 27.98 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006148, allocations: 0 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.006154, allocations: 0 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006156, allocations: 4.031 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006157, allocations: 7.938 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.126e-05/0.006248, allocations: 259.5 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.006257, allocations: 11.91 kB / 386 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.00627, allocations: 7.984 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.006305, allocations: 4 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.006329, allocations: 15.92 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.006335, allocations: 4 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.006378, allocations: 177 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006378, allocations: 0 / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.006546, allocations: 27.94 kB / 386.2 MB, free: 16.19 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008045/0.007351, allocations: 440.1 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.759e-05/0.007438, allocations: 55.59 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00744, allocations: 0 / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.007471, allocations: 43.47 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.007675, allocations: 26.83 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.007942, allocations: 274.5 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.007974, allocations: 87.25 kB / 387.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.008013, allocations: 20.47 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.008061, allocations: 82.2 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008061, allocations: 0 / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Templates: time 0.00292/0.01098, allocations: 1.806 MB / 389 MB, free: 13.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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: 2.8696803711354733]