Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.0009326/0.0009326, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001642/0.001642, allocations: 169 kB / 24.91 MB, free: 8.723 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.9422/0.9422, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1656/0.1656, allocations: 34.26 MB / 296.1 MB, free: 13.98 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.454e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002287/0.002302, allocations: 1.656 MB / 326.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.003109, allocations: 0.5491 MB / 327.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.003157, allocations: 3.938 kB / 327.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.003423, allocations: 115.6 kB / 327.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.003693, allocations: 119.5 kB / 327.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.003939, allocations: 111.7 kB / 327.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.004082, allocations: 87.75 kB / 327.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.075e-05/0.004163, allocations: 19.97 kB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.004242, allocations: 51.81 kB / 328 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.004333, allocations: 51.94 kB / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.004345, allocations: 4 kB / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.004432, allocations: 55.84 kB / 328.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.004478, allocations: 23.92 kB / 328.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.004503, allocations: 15.94 kB / 328.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004655, allocations: 103.5 kB / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004657, allocations: 0 / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004657, allocations: 0 / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.00466, allocations: 0 / 328.2 MB, free: 13.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003334/0.004994, allocations: 324.1 kB / 328.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.005024, allocations: 8.031 kB / 328.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.005056, allocations: 16.92 kB / 328.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.005193, allocations: 154.3 kB / 328.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.005205, allocations: 8.359 kB / 328.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.005224, allocations: 4.375 kB / 328.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.005306, allocations: 58.94 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005315, allocations: 192 / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005325, allocations: 8.125 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.00533, allocations: 0 / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.005356, allocations: 7.938 kB / 328.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.005593, allocations: 183 kB / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.183e-05/0.005645, allocations: 33.39 kB / 329 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.005661, allocations: 8.859 kB / 329 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.005673, allocations: 0 / 329 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.005694, allocations: 38.5 kB / 329.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005694, allocations: 4 kB / 329.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004306/0.006125, allocations: 145.6 kB / 329.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.006157, allocations: 59.34 kB / 329.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.006297, allocations: 201.6 kB / 329.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.00631, allocations: 25.7 kB / 329.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.006348, allocations: 96.06 kB / 329.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.006373, allocations: 27.78 kB / 329.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.00641, allocations: 25.7 kB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.0065, allocations: 330.8 kB / 329.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.006514, allocations: 4 kB / 330 MB, free: 11.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.006528, allocations: 4 kB / 330 MB, free: 11.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.006572, allocations: 39.86 kB / 330 MB, free: 11.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006573, allocations: 0 / 330 MB, free: 11.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.528e-05/0.006649, allocations: 61.56 kB / 330.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.006659, allocations: 7.438 kB / 330.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.006662, allocations: 0 / 330.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.006674, allocations: 0 / 330.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.006738, allocations: 15.98 kB / 330.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.006742, allocations: 4 kB / 330.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.006765, allocations: 8 kB / 330.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.006772, allocations: 3.984 kB / 330.1 MB, free: 11.75 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 (8): * Single equations (assignments): 8 * 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.624e-05/0.006828, allocations: 112.7 kB / 330.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.006855, allocations: 11.94 kB / 330.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.006968, allocations: 83.02 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.00697, allocations: 0 / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.006971, allocations: 3.938 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006974, allocations: 432 / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.007241, allocations: 255.5 kB / 330.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.007243, allocations: 8.031 kB / 330.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.007284, allocations: 12 kB / 330.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.007287, allocations: 4 kB / 330.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.007293, allocations: 3.984 kB / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007294, allocations: 0 / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007295, allocations: 0 / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.903e-05/0.007394, allocations: 176.2 kB / 330.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.007405, allocations: 11.91 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.007417, allocations: 0 / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.007469, allocations: 4 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.007491, allocations: 11.98 kB / 330.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.007496, allocations: 4 kB / 330.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.847e-05/0.007555, allocations: 59.64 kB / 330.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007555, allocations: 0 / 330.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.007759, allocations: 27.92 kB / 330.9 MB, free: 10.9 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 (8): * Single equations (assignments): 8 * 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.001315/0.009074, allocations: 0.5526 MB / 331.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.962e-05/0.009154, allocations: 44.7 kB / 331.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.009156, allocations: 4 kB / 331.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.009193, allocations: 20.8 kB / 331.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.009376, allocations: 21.48 kB / 331.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.009704, allocations: 246.6 kB / 331.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.009752, allocations: 75.39 kB / 331.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.00979, allocations: 13.03 kB / 331.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.009847, allocations: 63.36 kB / 331.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.009847, allocations: 0 / 331.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003338/0.01319, allocations: 1.531 MB / 333.4 MB, free: 8.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.933811535127461]