Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00196/0.00196, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002271/0.002271, allocations: 161.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.652/1.652, 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.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.3801/0.3801, allocations: 32.81 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.849e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.005571/0.005609, allocations: 1.69 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.00776, allocations: 0.5374 MB / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.007852, allocations: 0 / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.008231, allocations: 47.8 kB / 377.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005195/0.00875, allocations: 91.53 kB / 377.7 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.009403, allocations: 135.6 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.009682, allocations: 87.7 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.009814, allocations: 16.16 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.009994, allocations: 47.89 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.01014, allocations: 31.89 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.01017, allocations: 4 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.01036, allocations: 55.91 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.01046, allocations: 19.92 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.01052, allocations: 23.92 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.01087, allocations: 107.6 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01087, allocations: 0 / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01088, allocations: 0 / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.01088, allocations: 0 / 378.2 MB, free: 2.062 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008985/0.01178, allocations: 435.6 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.01184, allocations: 15.97 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.01194, allocations: 16.84 kB / 378.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.01225, allocations: 137 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.01228, allocations: 4.375 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.01231, allocations: 12.27 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.01257, allocations: 61.98 kB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.01259, allocations: 4 kB / 378.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01261, allocations: 4 kB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01262, allocations: 0 / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.01285, allocations: 31.97 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.01355, allocations: 307.6 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.01395, allocations: 55.05 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.01408, allocations: 31.66 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.01412, allocations: 4.125 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.01417, allocations: 41.42 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.01417, allocations: 0 / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001842/0.01601, allocations: 301.5 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.01608, allocations: 51.41 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.01644, allocations: 232.7 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.01648, allocations: 25.7 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.01665, allocations: 154.8 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.01676, allocations: 39.72 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01687, allocations: 47.3 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003838/0.01725, allocations: 0.4962 MB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.01743, allocations: 31.98 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.01762, allocations: 43.91 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.01801, allocations: 87.66 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01801, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005485/0.01856, allocations: 125.8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.01858, allocations: 7.984 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01859, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01861, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.01883, allocations: 27.92 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.01884, allocations: 8 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.01894, allocations: 7.938 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01895, allocations: 0 / 381 MB, free: 15.05 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.0002046/0.01916, allocations: 164.6 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.01923, allocations: 11.95 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.01981, allocations: 150.4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01982, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01982, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.01983, allocations: 11.88 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.02099, allocations: 464.5 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.021, allocations: 0 / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.02117, allocations: 31.92 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.02118, allocations: 0 / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.0212, allocations: 7.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.02121, allocations: 3.984 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.02121, allocations: 192 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.02188, allocations: 299.2 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.02191, allocations: 7.906 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.02194, allocations: 11.94 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.02208, allocations: 11.98 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.02214, allocations: 7.984 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.02216, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.02238, allocations: 169.7 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02238, allocations: 0 / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.02283, allocations: 31.88 kB / 382.3 MB, free: 13.6 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.004226/0.02705, allocations: 492.3 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.02752, allocations: 103.6 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.02752, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.02771, allocations: 59.59 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.02822, allocations: 26.8 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.02902, allocations: 272 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.02918, allocations: 104.9 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.02927, allocations: 12.48 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.02933, allocations: 20.48 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02933, allocations: 0 / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.00591/0.03524, allocations: 1.582 MB / 385 MB, free: 11.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.178109645959921]