Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.00102/0.00102, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.00128/0.00128, allocations: 170.2 kB / 24.91 MB, free: 8.766 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.9719/0.9719, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 34.27 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.603e-05, allocations: 3.188 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00219/0.002216, allocations: 1.636 MB / 326.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.002922, allocations: 0.5296 MB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.002971, allocations: 0 / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.003146, allocations: 31.72 kB / 327.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.00337, allocations: 79.62 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.003555, allocations: 91.64 kB / 327.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.003675, allocations: 64.39 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.003746, allocations: 11.98 kB / 327.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.003799, allocations: 35.84 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.003847, allocations: 15.98 kB / 327.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.003859, allocations: 4 kB / 327.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.076e-05/0.00392, allocations: 27.94 kB / 327.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.00396, allocations: 19.91 kB / 327.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.00398, allocations: 15.94 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004094, allocations: 63.75 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004096, allocations: 0 / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004097, allocations: 0 / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.0041, allocations: 0 / 327.9 MB, free: 5.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002625/0.004362, allocations: 285.8 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.004388, allocations: 8.031 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.004407, allocations: 12.88 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004515, allocations: 137.6 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-06/0.004521, allocations: 4.375 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.004537, allocations: 4.375 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/0.004607, allocations: 54.95 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.004615, allocations: 4.172 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-06/0.004621, allocations: 4.125 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.004624, allocations: 0 / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.004639, allocations: 4 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.004798, allocations: 159.1 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.004907, allocations: 34.62 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.004919, allocations: 8.859 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.004932, allocations: 0 / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.004952, allocations: 38.56 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004952, allocations: 0 / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002179/0.00517, allocations: 86.25 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.005197, allocations: 51.41 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.005277, allocations: 152.3 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.005286, allocations: 25.7 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.005312, allocations: 92.06 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.005329, allocations: 15.8 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.005355, allocations: 21.7 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.005426, allocations: 322.8 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-06/0.005435, allocations: 8 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-06/0.005444, allocations: 4 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.00547, allocations: 20.83 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.005471, allocations: 0 / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.294e-05/0.005514, allocations: 53.72 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.005523, allocations: 4 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.005527, allocations: 3.984 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.005534, allocations: 256 / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.285e-05/0.005567, allocations: 15.92 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.005569, allocations: 4 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.005585, allocations: 8 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.005589, allocations: 3.938 kB / 329.5 MB, free: 3.281 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 (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.134e-05/0.00564, allocations: 112.7 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.005656, allocations: 15.92 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.439e-05/0.005731, allocations: 50.16 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.005732, allocations: 0 / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-07/0.005732, allocations: 0 / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005736, allocations: 3.984 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.0059, allocations: 206.8 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.005902, allocations: 3.938 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.005926, allocations: 15.98 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.005927, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.00593, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.005931, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005931, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.673e-05/0.005998, allocations: 151.5 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.006006, allocations: 15.89 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-06/0.006013, allocations: 0 / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.006042, allocations: 4 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.006064, allocations: 7.984 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.006066, allocations: 0 / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.797e-05/0.006094, allocations: 38.23 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006094, allocations: 0 / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.006223, allocations: 19.94 kB / 330.1 MB, free: 2.59 MB / 298.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.001071/0.007294, allocations: 0.4918 MB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.256e-05/0.007356, allocations: 32.78 kB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.00736, allocations: 4 kB / 330.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.007374, allocations: 8.859 kB / 330.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.007519, allocations: 31.8 kB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.007771, allocations: 167.2 kB / 330.9 MB, free: 2.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.007804, allocations: 67.28 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.00783, allocations: 7.984 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.007879, allocations: 63.36 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007879, allocations: 0 / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of Templates: time 0.002669/0.01055, allocations: 1.237 MB / 332.2 MB, free: 0.7031 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.0101082329638302]