Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001911/0.001911, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002017/0.002017, allocations: 165.3 kB / 24.27 MB, free: 156 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.589/1.589, allocations: 177.2 MB / 204.6 MB, free: 5.586 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.3707/0.3707, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.992e-05, allocations: 13.2 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00317/0.0032, allocations: 1.685 MB / 377 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004356, allocations: 0.5647 MB / 377.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.004409, allocations: 0 / 377.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.004685, allocations: 75.7 kB / 377.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.004994, allocations: 107.5 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.005398, allocations: 171.5 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.005581, allocations: 103.7 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.005698, allocations: 20.22 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.005799, allocations: 47.89 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.005919, allocations: 55.86 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.005941, allocations: 4 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006051, allocations: 51.91 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.006122, allocations: 23.92 kB / 378.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.006169, allocations: 27.86 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.006389, allocations: 115.5 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006392, allocations: 0 / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006392, allocations: 4 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.006396, allocations: 0 / 378.3 MB, free: 1.887 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006264/0.007023, allocations: 463.5 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.00706, allocations: 8.031 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.007118, allocations: 16.84 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.007338, allocations: 156.9 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.007351, allocations: 4.312 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.007378, allocations: 8.375 kB / 379 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.00754, allocations: 58.23 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.007554, allocations: 192 / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.007567, allocations: 8.125 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.007571, allocations: 0 / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.007705, allocations: 31.97 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.008251, allocations: 323.6 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.008506, allocations: 66.97 kB / 379.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.008579, allocations: 15.69 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.008602, allocations: 8.078 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.008635, allocations: 41.45 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.008636, allocations: 4 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001124/0.009759, allocations: 277.6 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.009812, allocations: 55.41 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.01008, allocations: 249.8 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.0101, allocations: 33.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01022, allocations: 166.8 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.01027, allocations: 39.62 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.01033, allocations: 35.38 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002802/0.01062, allocations: 0.5079 MB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01072, allocations: 32.09 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.01081, allocations: 27.98 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.01101, allocations: 79.66 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01101, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000278/0.01128, allocations: 125.5 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.0113, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.0113, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01132, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.01142, allocations: 23.92 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.01143, allocations: 4 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.01149, allocations: 7.984 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.0115, allocations: 0 / 381.2 MB, free: 14.84 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 0.000125/0.01162, allocations: 168.5 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.01167, allocations: 19.91 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.01203, allocations: 143.5 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01203, allocations: 3.938 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.01203, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01204, allocations: 3.938 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.01298, allocations: 464.6 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.01298, allocations: 7.984 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.01308, allocations: 23.92 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01308, allocations: 4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01309, allocations: 0 / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.0131, allocations: 3.938 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.0131, allocations: 4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.01349, allocations: 287.1 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.01352, allocations: 15.97 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01354, allocations: 8 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.01362, allocations: 11.92 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.01367, allocations: 7.984 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.01368, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.01383, allocations: 180.1 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01383, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.01407, allocations: 27.92 kB / 382.5 MB, free: 13.38 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.003151/0.01722, allocations: 0.4931 MB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.01752, allocations: 87.58 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01752, allocations: 0 / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.01766, allocations: 63.59 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.01798, allocations: 34.86 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.01865, allocations: 298.4 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01878, allocations: 109.8 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.533e-05/0.01886, allocations: 28.58 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.01891, allocations: 20.5 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01891, allocations: 0 / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Templates: time 0.005686/0.0246, allocations: 1.655 MB / 385.3 MB, free: 10.76 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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: 5.381780928000808]