Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0009024/0.0009024, 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.0009327/0.0009327, allocations: 165.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 0.9838/0.9838, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2736/0.2736, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.959e-05, allocations: 2.312 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002073/0.002092, allocations: 1.704 MB / 377.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006984/0.002791, allocations: 0.5491 MB / 378.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.002844, allocations: 0 / 378.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/0.003272, allocations: 455.1 kB / 378.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.00376, allocations: 291.2 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.003963, allocations: 135.5 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.004138, allocations: 167.6 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.004232, allocations: 12 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004334, allocations: 115.8 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.004526, allocations: 247.6 kB / 379.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.004543, allocations: 7.938 kB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.00461, allocations: 31.92 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.004712, allocations: 87.7 kB / 379.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.004751, allocations: 35.75 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.004952, allocations: 191.2 kB / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004954, allocations: 0 / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004954, allocations: 0 / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004958, allocations: 0 / 380 MB, free: 0.9844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005348/0.005493, allocations: 0.6931 MB / 380.7 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.005533, allocations: 8.031 kB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.005599, allocations: 52.64 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.005796, allocations: 245 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005807, allocations: 4.375 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.005827, allocations: 4.375 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.005943, allocations: 62.94 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.005952, allocations: 192 / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.005962, allocations: 4.125 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.005971, allocations: 0 / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.006002, allocations: 11.94 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.006374, allocations: 431.5 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.006546, allocations: 50.98 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.006575, allocations: 11.69 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.006594, allocations: 3.938 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.006617, allocations: 41.39 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.006618, allocations: 0 / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003963/0.007015, allocations: 184.8 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.007044, allocations: 55.41 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.007559, allocations: 0.6238 MB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.007569, allocations: 25.7 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.007738, allocations: 282.8 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.007761, allocations: 27.83 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.007795, allocations: 19.38 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.007969, allocations: 0.5547 MB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.007989, allocations: 7.938 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.008007, allocations: 4 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.00805, allocations: 31.81 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008051, allocations: 0 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001136/0.008165, allocations: 97.34 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.008177, allocations: 8 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.008182, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008194, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.008242, allocations: 15.98 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.008247, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.008281, allocations: 4 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.008287, allocations: 0 / 383.5 MB, free: 13.24 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 7.971e-05/0.008366, allocations: 164.5 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.008412, allocations: 39.72 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.008563, allocations: 105.1 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008565, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.008568, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008571, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.008955, allocations: 465.3 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008956, allocations: 4 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.008992, allocations: 11.98 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008994, allocations: 3.938 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.009, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009001, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009002, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.009135, allocations: 247.8 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.009164, allocations: 35.72 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.009183, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.009244, allocations: 8 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.009273, allocations: 3.984 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.009278, allocations: 4 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003193/0.009598, allocations: 430.8 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009598, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.009842, allocations: 23.94 kB / 385 MB, free: 11.64 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.0009535/0.0108, allocations: 394 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.0109, allocations: 27.67 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0109, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.01093, allocations: 19.69 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01125, allocations: 29.89 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.01201, allocations: 0.569 MB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.01227, allocations: 123.2 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01231, allocations: 11.98 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.01234, allocations: 12.5 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01234, allocations: 0 / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of Templates: time 0.004135/0.01648, allocations: 1.373 MB / 387.6 MB, free: 9.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.1445637699216604]