Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.0026/0.0026, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002979/0.002979, allocations: 169.3 kB / 24.27 MB, free: 156 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3562/0.3562, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.917e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003319/0.003348, allocations: 1.685 MB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004534, allocations: 0.5375 MB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.00458, allocations: 0 / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.00497, allocations: 59.72 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.005283, allocations: 103.5 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.005627, allocations: 135.5 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005807, allocations: 87.75 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.005904, allocations: 12.22 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.006006, allocations: 43.89 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.006118, allocations: 47.88 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.006139, allocations: 4 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.006253, allocations: 51.86 kB / 380.1 MB, free: 168 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.00633, allocations: 27.91 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.006364, allocations: 15.94 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.006597, allocations: 119.5 kB / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.006599, allocations: 0 / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.0066, allocations: 0 / 380.2 MB, free: 4 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.006605, allocations: 0 / 380.2 MB, free: 4 kB / 346.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.0006396/0.007244, allocations: 431.7 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.007277, allocations: 11.97 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.007337, allocations: 20.84 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.007558, allocations: 147.3 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.007571, allocations: 4.375 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.007589, allocations: 384 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.00776, allocations: 62.23 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.007774, allocations: 192 / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.007793, allocations: 12.12 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.007797, allocations: 3.938 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.007925, allocations: 31.97 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.008402, allocations: 311.6 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.008664, allocations: 67.02 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.008737, allocations: 23.8 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.008753, allocations: 4 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.008787, allocations: 37.39 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.008788, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001154/0.009942, allocations: 313.5 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.009989, allocations: 59.41 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.01023, allocations: 235.1 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.01025, allocations: 25.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01037, allocations: 158.8 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.01043, allocations: 35.69 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.01049, allocations: 35.36 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.01076, allocations: 0.504 MB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.01087, allocations: 31.98 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01098, allocations: 39.97 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.0112, allocations: 91.59 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.0112, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003135/0.01151, allocations: 133.8 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01153, allocations: 4 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01153, allocations: 0 / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01155, allocations: 4 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.01166, allocations: 19.98 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01166, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.01171, allocations: 11.95 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.01173, allocations: 11.94 kB / 383.1 MB, free: 12.97 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 (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 0.0001357/0.01186, allocations: 168.5 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.01191, allocations: 11.95 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.01228, allocations: 146.4 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.01228, allocations: 3.984 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01229, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01229, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.01301, allocations: 472.5 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01301, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.01312, allocations: 23.98 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01312, allocations: 3.984 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.01314, allocations: 8 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.01314, allocations: 3.938 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01314, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.01358, allocations: 303.2 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.01359, allocations: 11.91 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.01361, allocations: 192 / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.01371, allocations: 19.92 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.01375, allocations: 7.984 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01376, allocations: 4 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.01391, allocations: 167.2 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.01417, allocations: 24 kB / 384.4 MB, free: 11.52 MB / 362.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.003399/0.01757, allocations: 0.4949 MB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.01789, allocations: 99.56 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01789, allocations: 4 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.01803, allocations: 59.59 kB / 385.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.01838, allocations: 34.55 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.01901, allocations: 274 kB / 385.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.01913, allocations: 96.67 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.781e-05/0.01921, allocations: 20.59 kB / 385.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.01926, allocations: 16.5 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01926, allocations: 0 / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of Templates: time 0.005578/0.02483, allocations: 1.584 MB / 387.1 MB, free: 9.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.050234658061527]