Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.000953/0.000953, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009567/0.0009567, allocations: 161 kB / 24.56 MB, free: 16 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 0.9084/0.9084, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2371/0.2371, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.113e-05, allocations: 5.688 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002105/0.002126, allocations: 1.7 MB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000573/0.002699, allocations: 0.8063 MB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.002737, allocations: 0 / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.002963, allocations: 31.78 kB / 378.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.003161, allocations: 39.77 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.003164, allocations: 0 / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.003296, allocations: 39.83 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.003326, allocations: 4 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.003398, allocations: 23.92 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.172e-05/0.00342, allocations: 7.984 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.003429, allocations: 0 / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.00347, allocations: 11.98 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.003512, allocations: 19.94 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.003531, allocations: 7.938 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003648, allocations: 55.7 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003651, allocations: 4 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003652, allocations: 0 / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.003656, allocations: 4 kB / 378.8 MB, free: 1.883 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003111/0.003968, allocations: 396.3 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.004002, allocations: 8.031 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.004038, allocations: 8.891 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004195, allocations: 124.5 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.004204, allocations: 384 / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.004215, allocations: 4.375 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.00435, allocations: 116.3 kB / 379.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004358, allocations: 192 / 379.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.004367, allocations: 384 / 379.4 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.004415, allocations: 24.36 kB / 379.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.00445, allocations: 35.8 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.004957, allocations: 1.196 MB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.00504, allocations: 269.4 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.005073, allocations: 126.9 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.005099, allocations: 119.2 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.005143, allocations: 164.6 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.005145, allocations: 3.984 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.743e-05/0.005202, allocations: 41.62 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.005255, allocations: 170.6 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.00541, allocations: 243 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005422, allocations: 37.69 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.005505, allocations: 206.2 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.005508, allocations: 3.938 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.005551, allocations: 51.31 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.005678, allocations: 0.4962 MB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.005697, allocations: 12 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.00579, allocations: 200.2 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.006215, allocations: 229.5 kB / 383 MB, free: 13.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.006218, allocations: 0 / 383 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002175/0.006436, allocations: 169.4 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.006452, allocations: 8 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.006459, allocations: 4 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.006477, allocations: 11.94 kB / 383.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.006571, allocations: 35.92 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.006585, allocations: 11.94 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.006642, allocations: 23.84 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.006653, allocations: 8.375 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.784e-05/0.00675, allocations: 291.6 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.006802, allocations: 160.8 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/0.006851, allocations: 156.6 kB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/0.006914, allocations: 272 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.294e-05/0.006977, allocations: 268.2 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.128e-05/0.007038, allocations: 272 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.007231, allocations: 0.5116 MB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/0.007272, allocations: 156.8 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.007314, allocations: 148.9 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.066e-05/0.007385, allocations: 264.1 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.00746, allocations: 276 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.501e-05/0.007545, allocations: 264.1 kB / 386.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000111/0.007656, allocations: 276 kB / 386.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.007847, allocations: 452 kB / 387 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.007906, allocations: 156.8 kB / 387.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.007995, allocations: 264.1 kB / 387.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.008064, allocations: 156.8 kB / 387.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.008157, allocations: 272 kB / 387.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.008198, allocations: 144.9 kB / 387.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.008296, allocations: 159.3 kB / 388.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008296, allocations: 7.938 kB / 388.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.008513, allocations: 19.94 kB / 388.1 MB, free: 7.91 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 (0): * Single equations (assignments): 0 * 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.0004641/0.008978, allocations: 305.3 kB / 388.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.009098, allocations: 67.47 kB / 388.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009099, allocations: 0 / 388.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.0091, allocations: 1.25 kB / 388.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.0094, allocations: 0.7062 MB / 389.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.009688, allocations: 291.8 kB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.104e-05/0.009729, allocations: 63.83 kB / 389.5 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.981e-05/0.009809, allocations: 53.06 kB / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.009834, allocations: 12.5 kB / 389.6 MB, free: 6.402 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009834, allocations: 0 / 389.6 MB, free: 6.402 MB / 362.7 MB Notification: Performance of Templates: time 0.002581/0.01241, allocations: 0.7558 MB / 390.4 MB, free: 5.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.955253171734512]