Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00099/0.00099, allocations: 81.08 kB / 20.65 MB, free: 3.844 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.0009467/0.0009467, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.076/1.076, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.169/0.169, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.472e-05, allocations: 9.406 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001987/0.002012, allocations: 1.634 MB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.002539, allocations: 347.2 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.002607, allocations: 0 / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.003061, allocations: 451.1 kB / 350.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.003319, allocations: 263.4 kB / 350.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.003585, allocations: 147.6 kB / 351 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.003767, allocations: 167.6 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.00388, allocations: 12.19 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003981, allocations: 119.8 kB / 351.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.004143, allocations: 239.6 kB / 351.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.004163, allocations: 4 kB / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.004232, allocations: 27.94 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.004325, allocations: 91.69 kB / 351.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.004362, allocations: 35.75 kB / 351.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.004543, allocations: 191.2 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004545, allocations: 0 / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004545, allocations: 0 / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00455, allocations: 0 / 351.8 MB, free: 5.457 MB / 282.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.0004436/0.004994, allocations: 0.6931 MB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.005034, allocations: 8.031 kB / 352.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.00508, allocations: 52.61 kB / 352.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.005225, allocations: 248.8 kB / 352.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.00524, allocations: 384 / 352.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.005262, allocations: 4.375 kB / 352.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.005368, allocations: 54.95 kB / 352.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005378, allocations: 4.188 kB / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005385, allocations: 3.938 kB / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005392, allocations: 0 / 352.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.005413, allocations: 11.98 kB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.005662, allocations: 340.2 kB / 353.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.005784, allocations: 43.03 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.005799, allocations: 11.72 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.005821, allocations: 7.984 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.005836, allocations: 41.39 kB / 353.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.005837, allocations: 4 kB / 353.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002623/0.0061, allocations: 125.2 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.006119, allocations: 51.41 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.006383, allocations: 0.5962 MB / 354.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.00639, allocations: 25.7 kB / 354.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.006486, allocations: 290.8 kB / 354.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.006505, allocations: 23.78 kB / 354.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.00653, allocations: 31.3 kB / 354.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.006608, allocations: 0.5508 MB / 355 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.006619, allocations: 7.984 kB / 355 MB, free: 2.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.00663, allocations: 7.938 kB / 355 MB, free: 2.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.006655, allocations: 19.69 kB / 355 MB, free: 2.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006656, allocations: 3.938 kB / 355.1 MB, free: 2.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.724e-05/0.006724, allocations: 93.41 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.006734, allocations: 8 kB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.006738, allocations: 0 / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.00675, allocations: 0 / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.006786, allocations: 11.94 kB / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.006789, allocations: 0 / 355.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.006813, allocations: 7.984 kB / 355.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.006816, allocations: 0 / 355.2 MB, free: 1.902 MB / 282.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 5.387e-05/0.00687, allocations: 168.5 kB / 355.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.006896, allocations: 39.72 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.006996, allocations: 97.22 kB / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006998, allocations: 0 / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007, allocations: 4.312 kB / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007003, allocations: 0 / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.00721, allocations: 385.8 kB / 355.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007212, allocations: 0 / 355.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.007236, allocations: 12 kB / 355.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.007238, allocations: 0 / 355.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.007242, allocations: 4 kB / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007242, allocations: 0 / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007243, allocations: 0 / 355.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.346e-05/0.007317, allocations: 247.5 kB / 356.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.007336, allocations: 35.7 kB / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.00735, allocations: 0 / 356.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.007386, allocations: 4 kB / 356.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.007411, allocations: 0 / 356.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.007415, allocations: 7.984 kB / 356.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.007557, allocations: 386.7 kB / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007557, allocations: 0 / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000155/0.007712, allocations: 24 kB / 356.6 MB, free: 460 kB / 282.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.0006941/0.008406, allocations: 378.5 kB / 356.9 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.008478, allocations: 39.61 kB / 357 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008479, allocations: 0 / 357 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.008494, allocations: 15.69 kB / 357 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.008718, allocations: 31.14 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.009321, allocations: 0.5665 MB / 357.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.009398, allocations: 119.2 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.193e-05/0.009429, allocations: 8.25 kB / 357.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.009486, allocations: 82.19 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009487, allocations: 4 kB / 357.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003976/0.01346, allocations: 1.495 MB / 359.3 MB, free: 13.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.2677840972319245]