Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.002478/0.002478, allocations: 83.69 kB / 20.96 MB, free: 3.316 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.002908/0.002908, allocations: 157.3 kB / 24.27 MB, free: 8 kB / 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.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 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.3976/0.3976, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 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.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.507e-05, allocations: 9.344 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003499/0.003534, allocations: 1.658 MB / 376.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004805, allocations: 0.5686 MB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.004873, allocations: 3.938 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.005588, allocations: 459 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.006186, allocations: 303.1 kB / 378.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.006687, allocations: 167.5 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.007024, allocations: 171.7 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.007135, allocations: 15.98 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.007405, allocations: 123.8 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.007752, allocations: 235.6 kB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.007787, allocations: 4 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.007939, allocations: 43.84 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.008085, allocations: 87.66 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.008159, allocations: 35.73 kB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.008591, allocations: 247.1 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.008595, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.008597, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.008606, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.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.001068/0.009674, allocations: 0.7161 MB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.009723, allocations: 8.031 kB / 380.1 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.009852, allocations: 44.66 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.01027, allocations: 252.8 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.01028, allocations: 384 / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.01031, allocations: 8.375 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.01048, allocations: 46.25 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01049, allocations: 192 / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.01051, allocations: 8.125 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01051, allocations: 0 / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.01062, allocations: 23.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.01144, allocations: 467.6 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.0117, allocations: 50.98 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.01177, allocations: 15.77 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.0118, allocations: 4 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.01183, allocations: 37.33 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.01183, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007143/0.01255, allocations: 217 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.0126, allocations: 51.41 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008583/0.01346, allocations: 0.6784 MB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.01348, allocations: 25.7 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.01402, allocations: 298.8 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.01405, allocations: 19.84 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.0141, allocations: 23.38 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003618/0.01446, allocations: 0.5782 MB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.01453, allocations: 8 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.01459, allocations: 15.98 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.01473, allocations: 47.8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01473, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002374/0.01497, allocations: 121.3 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01498, allocations: 4 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01499, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.015, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.01507, allocations: 16 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01508, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.01513, allocations: 7.922 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01514, allocations: 4 kB / 383.1 MB, free: 12.87 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 0.00014/0.01528, allocations: 160.5 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.01535, allocations: 43.72 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.01566, allocations: 117.2 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01566, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01567, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01567, allocations: 4 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.01642, allocations: 0.5091 MB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01642, allocations: 0 / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.01648, allocations: 11.98 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01648, allocations: 0 / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.0165, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01651, allocations: 3.938 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01651, allocations: 0 / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.01684, allocations: 263.8 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.01691, allocations: 39.72 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01693, allocations: 0 / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.01701, allocations: 0 / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.01704, allocations: 7.984 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.01705, allocations: 0 / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005016/0.01755, allocations: 446.8 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01755, allocations: 0 / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000255/0.01781, allocations: 20 kB / 384.7 MB, free: 11.18 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.003142/0.02095, allocations: 437.4 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.02126, allocations: 51.61 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.02127, allocations: 4 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.02136, allocations: 27.67 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.02182, allocations: 37.5 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.023, allocations: 0.5979 MB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.02325, allocations: 204.1 kB / 386.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.301e-05/0.02332, allocations: 19.97 kB / 386.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.02338, allocations: 12.5 kB / 386.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02338, allocations: 0 / 386.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of Templates: time 0.005931/0.02931, allocations: 1.342 MB / 387.4 MB, free: 8.598 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.081377636059187]