Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.0009846/0.0009846, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001057/0.001057, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.968/0.968, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2408/0.2408, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.63e-05, allocations: 3.016 kB / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003073/0.003099, allocations: 1.708 MB / 325 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009731/0.004072, allocations: 0.5528 MB / 325.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.004126, allocations: 8 kB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.004386, allocations: 67.77 kB / 325.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.004698, allocations: 103.5 kB / 325.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.005014, allocations: 131.5 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.005184, allocations: 95.73 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.108e-05/0.005275, allocations: 12.23 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.391e-05/0.005369, allocations: 55.81 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.00547, allocations: 43.88 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.005488, allocations: 4 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.005592, allocations: 47.92 kB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.005663, allocations: 27.91 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.00569, allocations: 19.92 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.005866, allocations: 99.59 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005868, allocations: 0 / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005869, allocations: 8 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.005872, allocations: 0 / 326.2 MB, free: 6.707 MB / 298.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.0003829/0.006255, allocations: 321.4 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.006292, allocations: 12.03 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.006327, allocations: 8.922 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.006488, allocations: 147.4 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.006497, allocations: 384 / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.006519, allocations: 4.375 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.006631, allocations: 66.88 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.006641, allocations: 192 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.006651, allocations: 12.12 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.006657, allocations: 4 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.006685, allocations: 8 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.006924, allocations: 180.1 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.007061, allocations: 34.56 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.007083, allocations: 20.95 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.007097, allocations: 0 / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.00712, allocations: 34.5 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.007121, allocations: 4 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000584/0.007705, allocations: 209.3 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.007736, allocations: 51.41 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.007877, allocations: 180.8 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.007889, allocations: 25.7 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.007937, allocations: 100.8 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.007976, allocations: 39.67 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.008017, allocations: 25.7 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.008128, allocations: 330.7 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.008149, allocations: 8 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.008172, allocations: 8.984 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.149e-05/0.008234, allocations: 47.92 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008235, allocations: 0 / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001028/0.008338, allocations: 73.61 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.008349, allocations: 4 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.008354, allocations: 0 / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008367, allocations: 0 / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.961e-05/0.008447, allocations: 23.98 kB / 328.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.008451, allocations: 4.562 kB / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.008487, allocations: 7.984 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008493, allocations: 0 / 328.2 MB, free: 4.598 MB / 298.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.95e-05/0.008573, allocations: 124.5 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.008603, allocations: 7.984 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.00876, allocations: 99 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.008763, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008765, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.00877, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.009046, allocations: 292.2 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.009049, allocations: 4 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.009092, allocations: 19.98 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009094, allocations: 0 / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.009102, allocations: 7.984 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009104, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009105, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.328e-05/0.009198, allocations: 181.1 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.009208, allocations: 11.94 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.009218, allocations: 4.062 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.009257, allocations: 8 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.009284, allocations: 11.92 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.009289, allocations: 4 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.231e-05/0.009331, allocations: 59.62 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009331, allocations: 0 / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.009466, allocations: 23.94 kB / 329 MB, free: 3.68 MB / 298.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.001169/0.01064, allocations: 0.5887 MB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.743e-05/0.01073, allocations: 44.78 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.01074, allocations: 0 / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.125e-05/0.01077, allocations: 32.78 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.01093, allocations: 23.97 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.01129, allocations: 272.1 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.959e-05/0.01134, allocations: 67.34 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.895e-05/0.01139, allocations: 16.48 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.01145, allocations: 67.36 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01145, allocations: 0 / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of Templates: time 0.002995/0.01445, allocations: 1.674 MB / 331.8 MB, free: 1.152 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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: 2.9178425730206072]