Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.001308/0.001308, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001064/0.001064, allocations: 165.4 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 1.043/1.043, allocations: 177.1 MB / 205 MB, free: 5.273 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.2874/0.2874, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.009e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002401/0.002421, allocations: 1.961 MB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003733, allocations: 1.074 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.003818, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.004215, allocations: 262.9 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.004621, allocations: 270.9 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.005501, allocations: 0.6274 MB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.005844, allocations: 327.1 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.005977, allocations: 36.91 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.00613, allocations: 171.5 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.006307, allocations: 199.5 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.00633, allocations: 8 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.006424, allocations: 47.92 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.006522, allocations: 95.62 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.006573, allocations: 51.72 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.006855, allocations: 231 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006858, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006859, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.006866, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006472/0.007513, allocations: 0.6738 MB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.007554, allocations: 8.031 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.007631, allocations: 44.7 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.007905, allocations: 274.7 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.007917, allocations: 8.375 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.007929, allocations: 4.375 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.008066, allocations: 82.92 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.008074, allocations: 192 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.008089, allocations: 8.125 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.008098, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.008152, allocations: 27.22 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.008584, allocations: 439.4 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.008659, allocations: 50.98 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.008691, allocations: 23.8 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.008715, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.00874, allocations: 33.39 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.008741, allocations: 4 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001999/0.008941, allocations: 101.5 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.00897, allocations: 51.41 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.009308, allocations: 0.4948 MB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.00932, allocations: 25.7 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.009442, allocations: 258.8 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.009469, allocations: 19.8 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.0095, allocations: 23.38 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.009645, allocations: 0.5352 MB / 386.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.009667, allocations: 11.98 kB / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.009683, allocations: 8 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.009736, allocations: 35.67 kB / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009738, allocations: 0 / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001081/0.009846, allocations: 93.45 kB / 386.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.00986, allocations: 11.94 kB / 386.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.009864, allocations: 3.938 kB / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.009875, allocations: 0 / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.00994, allocations: 8 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009945, allocations: 0 / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.009973, allocations: 11.94 kB / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.009978, allocations: 448 / 386.7 MB, free: 9.738 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 (6): * Single equations (assignments): 6 * 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.857e-05/0.01006, allocations: 168.5 kB / 386.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.0101, allocations: 39.72 kB / 386.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.01025, allocations: 117.2 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.01025, allocations: 0 / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01026, allocations: 3.938 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01026, allocations: 0 / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.01046, allocations: 252.4 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01046, allocations: 0 / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.01049, allocations: 12 kB / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01049, allocations: 0 / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.0105, allocations: 8 kB / 387.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.0105, allocations: 3.984 kB / 387.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0105, allocations: 0 / 387.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01064, allocations: 247.6 kB / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.01066, allocations: 27.81 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01068, allocations: 0 / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.01072, allocations: 0 / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.01074, allocations: 11.92 kB / 387.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.01074, allocations: 4 kB / 387.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.01095, allocations: 327 kB / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01095, allocations: 0 / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001851/0.01114, allocations: 43.89 kB / 388 MB, free: 8.426 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 (6): * Single equations (assignments): 6 * 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.001209/0.01235, allocations: 0.5641 MB / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01246, allocations: 35.67 kB / 388.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01246, allocations: 0 / 388.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.01248, allocations: 31.61 kB / 388.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.0128, allocations: 91.44 kB / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.01343, allocations: 0.53 MB / 389.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.01351, allocations: 115.9 kB / 389.3 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.0136, allocations: 49.41 kB / 389.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.01364, allocations: 20.5 kB / 389.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01364, allocations: 0 / 389.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of Templates: time 0.005151/0.0188, allocations: 3.093 MB / 392.5 MB, free: 4.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.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.1898168441839516]