Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001513/0.001513, 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.001661/0.001661, allocations: 166.2 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.099/1.099, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2786/0.2786, allocations: 34.26 MB / 296 MB, free: 0.7734 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 378 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.377e-05, allocations: 6.25 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003169/0.003203, allocations: 1.638 MB / 379.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.005039, allocations: 1.278 MB / 381 MB, free: 56 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.005113, allocations: 0 / 381 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.005364, allocations: 27.78 kB / 381 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.005738, allocations: 83.56 kB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.006066, allocations: 119.6 kB / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.006226, allocations: 63.78 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.006333, allocations: 19.92 kB / 381.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.006405, allocations: 31.91 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.006514, allocations: 23.91 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.006533, allocations: 4 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.006709, allocations: 95.81 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.006763, allocations: 11.94 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.006799, allocations: 15.97 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.007025, allocations: 127.6 kB / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.007028, allocations: 0 / 381.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.00703, allocations: 8 kB / 381.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007034, allocations: 0 / 381.6 MB, free: 15.43 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.0004096/0.007444, allocations: 428 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.007478, allocations: 8.031 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.007528, allocations: 12.89 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.007678, allocations: 140.5 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.007687, allocations: 384 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.007708, allocations: 8.312 kB / 382.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.007854, allocations: 100 kB / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.007862, allocations: 192 / 382.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.007874, allocations: 12.12 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.007882, allocations: 7.938 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.00791, allocations: 4 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.008194, allocations: 283.8 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.008341, allocations: 39.05 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.008365, allocations: 19.7 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.008383, allocations: 7.938 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.008404, allocations: 33.39 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.008405, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000334/0.008739, allocations: 101.4 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.008784, allocations: 81.11 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.008911, allocations: 199.9 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.008921, allocations: 25.7 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.008969, allocations: 142.9 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.008989, allocations: 23.84 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.009018, allocations: 19.38 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.00912, allocations: 0.4884 MB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.009138, allocations: 7.984 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.009171, allocations: 49.08 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.009211, allocations: 27.67 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.009212, allocations: 4.031 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.889e-05/0.009291, allocations: 61.58 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.009307, allocations: 4 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.009312, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.009325, allocations: 3.984 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.009368, allocations: 12 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.009373, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.009395, allocations: 3.953 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.009401, allocations: 4 kB / 383.9 MB, free: 12.87 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 (5): * Single equations (assignments): 5 * 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.447e-05/0.009465, allocations: 160.6 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.009487, allocations: 15.89 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.0096, allocations: 74.02 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.009602, allocations: 3.938 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.009606, allocations: 4.297 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.009609, allocations: 0 / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.01009, allocations: 325.4 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01009, allocations: 0 / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.01013, allocations: 11.94 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01013, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01013, allocations: 4 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01014, allocations: 8 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01014, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.01024, allocations: 203.8 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.01025, allocations: 15.94 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.01027, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.0103, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.01033, allocations: 3.984 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.01034, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.24e-05/0.0104, allocations: 153 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0104, allocations: 0 / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.0106, allocations: 39.86 kB / 384.9 MB, free: 11.79 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 (5): * Single equations (assignments): 5 * 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.001021/0.01162, allocations: 491.5 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01173, allocations: 27.69 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01173, allocations: 0 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.01175, allocations: 27.67 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01196, allocations: 26.86 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.01227, allocations: 173.9 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.01231, allocations: 63.34 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.01235, allocations: 15.97 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.01238, allocations: 20.48 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01239, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003547/0.01593, allocations: 1.84 MB / 387.6 MB, free: 9.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.363132487051189]