Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001487/0.001487, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001736/0.001736, allocations: 157.7 kB / 24.27 MB, free: 176 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.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3501/0.3501, allocations: 32.79 MB / 293.9 MB, free: 1.211 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.39e-06/5.39e-06, allocations: 4 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/3.058e-05, allocations: 6.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003144/0.003175, allocations: 1.657 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004378, allocations: 0.5608 MB / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.004431, allocations: 0 / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008841/0.005315, allocations: 463 kB / 377.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.005844, allocations: 295.1 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.006336, allocations: 171.5 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.006605, allocations: 171.7 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.006707, allocations: 15.97 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.006871, allocations: 115.8 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.0072, allocations: 247.5 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.007223, allocations: 4 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.007328, allocations: 39.92 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.007449, allocations: 83.66 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.00752, allocations: 39.72 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.007886, allocations: 235.2 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.007893, allocations: 3.984 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.007894, allocations: 4 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.0079, allocations: 0 / 379.3 MB, free: 0.8828 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.0008521/0.008752, allocations: 0.5853 MB / 379.9 MB, free: 272 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.008794, allocations: 8.031 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.008888, allocations: 44.66 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.009246, allocations: 243.7 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.009264, allocations: 4.375 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.009286, allocations: 384 / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.009455, allocations: 62.22 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.009467, allocations: 192 / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.009476, allocations: 6.625 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.009481, allocations: 0 / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.009597, allocations: 35.91 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.01016, allocations: 328.4 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.01039, allocations: 46.56 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.01045, allocations: 16.88 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.01048, allocations: 8 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.01051, allocations: 30.56 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.01051, allocations: 4 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007424/0.01125, allocations: 248.7 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.0113, allocations: 55.41 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.01232, allocations: 0.8652 MB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.01234, allocations: 25.7 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.01255, allocations: 212 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.01258, allocations: 19.89 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.01262, allocations: 13.72 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.01285, allocations: 362.8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.01294, allocations: 23.97 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.01301, allocations: 19.98 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.01317, allocations: 52.83 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01317, allocations: 0 / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002627/0.01343, allocations: 129.3 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01345, allocations: 9.875 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01345, allocations: 256 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01347, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.01355, allocations: 23.92 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.01356, allocations: 3.938 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.01363, allocations: 11.94 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.01363, allocations: 0 / 382.8 MB, free: 13.25 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 0.0002452/0.01388, allocations: 209.8 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.01395, allocations: 51.67 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.01429, allocations: 149.1 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01429, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01429, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0143, allocations: 3.938 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.01493, allocations: 402.1 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.01493, allocations: 4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.015, allocations: 15.92 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.015, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01501, allocations: 4 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.01501, allocations: 3.938 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01501, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.01533, allocations: 215.2 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.01538, allocations: 35.72 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.01541, allocations: 3.984 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.0155, allocations: 7.938 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.01554, allocations: 4 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.01555, allocations: 4.172 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007602/0.01631, allocations: 0.655 MB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01631, allocations: 0 / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.01657, allocations: 20 kB / 384.6 MB, free: 11.41 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.002107/0.01868, allocations: 440.4 kB / 385 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.01891, allocations: 55.95 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01891, allocations: 0 / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.019, allocations: 27.98 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.0004157/0.01942, allocations: 25.95 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.02074, allocations: 0.8421 MB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.021, allocations: 220.1 kB / 386.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.02106, allocations: 15.97 kB / 386.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.0211, allocations: 12.5 kB / 386.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.0211, allocations: 4 kB / 386.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of Templates: time 0.005386/0.02649, allocations: 1.363 MB / 387.5 MB, free: 8.559 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 4.883226942969486]