Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001055/0.001055, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001786/0.001786, allocations: 161.3 kB / 24.99 MB, free: 8.797 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 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2769/0.2769, allocations: 34.26 MB / 296 MB, free: 0.7695 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.983e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003116/0.003146, allocations: 1.669 MB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004155, allocations: 0.5259 MB / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.00422, allocations: 0 / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.004817, allocations: 459 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.005212, allocations: 291.2 kB / 381 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.005469, allocations: 131.6 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.005662, allocations: 167.7 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.005759, allocations: 4 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.005871, allocations: 127.7 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.006135, allocations: 239.6 kB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.006155, allocations: 4 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.006229, allocations: 27.94 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.00634, allocations: 79.7 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.006387, allocations: 39.73 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.006639, allocations: 191.2 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.006644, allocations: 3.938 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.006645, allocations: 0 / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.006651, allocations: 0 / 382 MB, free: 15.03 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006827/0.007333, allocations: 0.6854 MB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.007378, allocations: 8.031 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.007455, allocations: 52.64 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.007696, allocations: 244.9 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.007706, allocations: 384 / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.007716, allocations: 4.375 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.007851, allocations: 58.94 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.007858, allocations: 192 / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.007868, allocations: 4.125 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.007877, allocations: 3.938 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.007914, allocations: 12 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.008358, allocations: 411.8 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.008433, allocations: 35.06 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.008461, allocations: 15.77 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.008482, allocations: 7.938 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.008507, allocations: 37.33 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.008508, allocations: 0 / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001982/0.008706, allocations: 85.41 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.008739, allocations: 55.41 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.009272, allocations: 0.6277 MB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.009284, allocations: 29.64 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.009457, allocations: 286.8 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.009477, allocations: 15.95 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.009511, allocations: 15.38 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.009683, allocations: 0.5547 MB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.0097, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.009716, allocations: 7.938 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.009755, allocations: 19.69 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009757, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.009867, allocations: 89.62 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.00988, allocations: 4 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.009885, allocations: 48 / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.0099, allocations: 7.969 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.009978, allocations: 12 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.009983, allocations: 0 / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.01002, allocations: 3.938 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.01003, allocations: 4 kB / 385.3 MB, free: 11.45 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 (3): * Single equations (assignments): 3 * 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 8.223e-05/0.01011, allocations: 160.5 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.01016, allocations: 55.61 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.0103, allocations: 77.11 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.0103, allocations: 4 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01031, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01031, allocations: 4 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.01058, allocations: 280.5 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01058, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.01062, allocations: 8 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01062, allocations: 3.938 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01063, allocations: 3.984 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01063, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01063, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01077, allocations: 235.6 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.01081, allocations: 35.72 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01083, allocations: 3.938 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.01089, allocations: 8 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.0109, allocations: 3.984 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.01091, allocations: 4 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003213/0.01123, allocations: 434.7 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 0 / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.01147, allocations: 16 kB / 386.6 MB, free: 10.06 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 (3): * Single equations (assignments): 3 * 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.0008932/0.01236, allocations: 324.1 kB / 386.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.01246, allocations: 31.62 kB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01246, allocations: 0 / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.01248, allocations: 19.67 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01282, allocations: 36.94 kB / 387 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.01354, allocations: 0.5589 MB / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.01364, allocations: 119.2 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.01367, allocations: 4 kB / 387.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.01371, allocations: 12.5 kB / 387.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01371, allocations: 0 / 387.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of Templates: time 0.00419/0.0179, allocations: 1.192 MB / 388.9 MB, free: 7.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.351280072936788]