Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001032/0.001032, 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.001088/0.001088, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2639/0.2639, allocations: 34.27 MB / 296 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.813e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.005505/0.005523, allocations: 1.717 MB / 379.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.006376, allocations: 0.5647 MB / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.00644, allocations: 0 / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.006695, allocations: 87.58 kB / 380.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.006954, allocations: 103.5 kB / 380.5 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.007274, allocations: 171.5 kB / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.01044, allocations: 99.73 kB / 380.8 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.01054, allocations: 20.16 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.01062, allocations: 55.88 kB / 380.8 MB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.01072, allocations: 55.86 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.01073, allocations: 4 kB / 380.9 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.01082, allocations: 51.86 kB / 381 MB, free: 16 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.0109, allocations: 27.91 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.01093, allocations: 15.94 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.0111, allocations: 103.6 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01111, allocations: 4 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01111, allocations: 0 / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.01111, allocations: 0 / 381.1 MB, free: 15.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004341/0.01154, allocations: 451.8 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.01158, allocations: 8.031 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.01163, allocations: 20.84 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.01178, allocations: 160.8 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.01179, allocations: 384 / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.01181, allocations: 4.375 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.01194, allocations: 74.86 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01195, allocations: 4.188 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.01196, allocations: 8.125 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.01197, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.01201, allocations: 8 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.01236, allocations: 315.6 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.01253, allocations: 55.02 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.01256, allocations: 15.67 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01258, allocations: 4 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.0126, allocations: 33.39 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.01261, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.003677/0.01628, allocations: 249.3 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.01631, allocations: 51.41 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.01647, allocations: 233.9 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.01649, allocations: 29.7 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.01655, allocations: 158.8 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.01659, allocations: 39.69 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.01663, allocations: 35.36 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003282/0.01696, allocations: 0.5078 MB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.017, allocations: 11.98 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.01703, allocations: 12 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.109e-05/0.01711, allocations: 51.67 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01711, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000148/0.01726, allocations: 101.7 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01728, allocations: 8 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01728, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.01729, allocations: 0 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.01737, allocations: 27.98 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01738, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.01741, allocations: 7.984 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01742, allocations: 4 kB / 383.8 MB, free: 13.01 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 7.726e-05/0.0175, allocations: 164.5 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01753, allocations: 23.89 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.01771, allocations: 103.1 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.01772, allocations: 7.984 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01772, allocations: 0.5625 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01772, allocations: 4 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.01812, allocations: 424.5 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01812, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.671e-05/0.01818, allocations: 31.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01819, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.0182, allocations: 4 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.0182, allocations: 3.938 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.0182, allocations: 3.938 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.01837, allocations: 251.2 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.01838, allocations: 15.97 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.0184, allocations: 8 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.01846, allocations: 7.938 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.0185, allocations: 11.98 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.01851, allocations: 7.984 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.377e-05/0.01859, allocations: 168.2 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01859, allocations: 0 / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01883, allocations: 31.88 kB / 385 MB, free: 11.67 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.003/0.02183, allocations: 439.4 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.02195, allocations: 59.59 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.02196, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.955e-05/0.02199, allocations: 39.61 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.02222, allocations: 24.2 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.02258, allocations: 289 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.125e-05/0.02263, allocations: 75.33 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.02268, allocations: 32.58 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.02271, allocations: 20.48 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02271, allocations: 3.938 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003095/0.02581, allocations: 1.662 MB / 387.6 MB, free: 9.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.329025411978364]