Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.00133/0.00133, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00154/0.00154, allocations: 168.5 kB / 25.61 MB, free: 8.926 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.9457/0.9457, allocations: 177.2 MB / 206.1 MB, free: 4.504 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.1514/0.1514, allocations: 34.26 MB / 296.9 MB, free: 13.93 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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.625e-05, allocations: 14.19 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.006166/0.006192, allocations: 1.694 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.007087, allocations: 0.5335 MB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.007154, allocations: 4 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.007403, allocations: 47.75 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.007704, allocations: 91.55 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.008016, allocations: 131.6 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.008168, allocations: 91.69 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.008265, allocations: 16.22 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.008348, allocations: 39.91 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.008439, allocations: 39.88 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.008453, allocations: 4 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.008551, allocations: 55.91 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.008612, allocations: 19.92 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.008636, allocations: 11.94 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.0101, allocations: 99.53 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.0101, allocations: 4 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0101, allocations: 0 / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.01011, allocations: 0 / 382.2 MB, free: 20.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003979/0.0105, allocations: 443.9 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.01054, allocations: 8.031 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.01059, allocations: 12.89 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.01075, allocations: 145 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.01076, allocations: 384 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.01078, allocations: 12.31 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.0109, allocations: 62.69 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01092, allocations: 3.953 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.01093, allocations: 7.984 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01093, allocations: 0 / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.01097, allocations: 15.98 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.01125, allocations: 264.3 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.01142, allocations: 50.97 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.01144, allocations: 15.81 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.01145, allocations: 0 / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.01147, allocations: 45.41 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.01147, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006818/0.01216, allocations: 221.4 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.01218, allocations: 59.41 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.01228, allocations: 212.8 kB / 383.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.01229, allocations: 33.7 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.01233, allocations: 150.8 kB / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.01237, allocations: 39.67 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.01241, allocations: 27.38 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.01247, allocations: 0.5 MB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.0125, allocations: 15.98 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.01252, allocations: 15.92 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.01259, allocations: 39.69 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01259, allocations: 0 / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001232/0.01271, allocations: 81.58 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.01273, allocations: 8 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01273, allocations: 3.984 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01274, allocations: 0 / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.01283, allocations: 27.92 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01284, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.01288, allocations: 11.94 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.01288, allocations: 3.938 kB / 384.7 MB, free: 17.8 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 (11): * Single equations (assignments): 11 * 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 6.022e-05/0.01295, allocations: 160.6 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.01298, allocations: 15.91 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.01316, allocations: 102.8 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01316, allocations: 0 / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01317, allocations: 7.984 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01317, allocations: 0 / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.01354, allocations: 381.5 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01354, allocations: 8.062 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.01363, allocations: 27.92 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.01363, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01364, allocations: 7.984 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.01364, allocations: 0 / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01364, allocations: 7.938 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.0138, allocations: 251.1 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.01382, allocations: 15.89 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.01383, allocations: 0 / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.01391, allocations: 12 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.01394, allocations: 15.92 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01395, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.71e-05/0.01401, allocations: 154.2 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01401, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.01432, allocations: 31.92 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009679/0.01528, allocations: 423.4 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.01539, allocations: 51.61 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.0154, allocations: 0 / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.01543, allocations: 43.59 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01566, allocations: 26.98 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.01599, allocations: 249.4 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.911e-05/0.01602, allocations: 67.33 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.01606, allocations: 20.59 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.01611, allocations: 90.14 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01612, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003278/0.01939, allocations: 1.757 MB / 388.6 MB, free: 13.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.157047762069851]