Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.001042/0.001042, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.000949/0.000949, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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.049/1.049, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1572/0.1572, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.811e-05, allocations: 12.16 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002448/0.002476, allocations: 1.642 MB / 349.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.003029, allocations: 319.4 kB / 349.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.003084, allocations: 0 / 349.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.00363, allocations: 455 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.003929, allocations: 255.4 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004148, allocations: 103.7 kB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004342, allocations: 159.6 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.004453, allocations: 16.17 kB / 350.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.004572, allocations: 115.8 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.004743, allocations: 239.6 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.004763, allocations: 0 / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.004831, allocations: 31.97 kB / 351 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.004917, allocations: 83.72 kB / 351.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.004949, allocations: 35.75 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.005137, allocations: 199.1 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00514, allocations: 0 / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005141, allocations: 0 / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.005146, allocations: 3.938 kB / 351.3 MB, free: 5.797 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.0004861/0.005632, allocations: 0.6816 MB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.005667, allocations: 12.03 kB / 352 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.005719, allocations: 44.66 kB / 352 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.005874, allocations: 240.9 kB / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.005884, allocations: 384 / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.005904, allocations: 8.312 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.999e-05/0.006004, allocations: 62.92 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006014, allocations: 8.188 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.006023, allocations: 7.938 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.006032, allocations: 0 / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.896e-05/0.006061, allocations: 8 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.006372, allocations: 423.6 kB / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.006521, allocations: 43 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.006535, allocations: 15.77 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.006544, allocations: 0 / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.959e-06/0.006554, allocations: 33.39 kB / 352.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 4.61e-07/0.006554, allocations: 0 / 352.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002737/0.006828, allocations: 192.7 kB / 353.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.006851, allocations: 51.41 kB / 353.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.007154, allocations: 0.6199 MB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.00716, allocations: 25.7 kB / 353.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.007261, allocations: 278.8 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.007281, allocations: 27.84 kB / 354.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.007304, allocations: 23.38 kB / 354.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.00741, allocations: 0.5508 MB / 354.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.007427, allocations: 7.938 kB / 354.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.007439, allocations: 11.98 kB / 354.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.00747, allocations: 27.88 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.00747, allocations: 0 / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.499e-05/0.007535, allocations: 97.34 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.007545, allocations: 4 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00755, allocations: 0 / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.007565, allocations: 0 / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.443e-05/0.0076, allocations: 8 kB / 354.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.007606, allocations: 7.938 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.007628, allocations: 7.984 kB / 354.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.007632, allocations: 0 / 354.8 MB, free: 2.09 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 6.338e-05/0.007696, allocations: 164.5 kB / 355 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.007723, allocations: 43.72 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.00783, allocations: 93.12 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.007831, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.007835, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007839, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.008084, allocations: 465.3 kB / 355.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.008085, allocations: 0 / 355.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.008105, allocations: 8 kB / 355.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.008107, allocations: 4 kB / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.008113, allocations: 4 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.008115, allocations: 3.984 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.008116, allocations: 192 / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.00822, allocations: 251.5 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.00824, allocations: 31.72 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.008255, allocations: 0 / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.008288, allocations: 4 kB / 355.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.008329, allocations: 11.98 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.008331, allocations: 0 / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.008536, allocations: 418.8 kB / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.008536, allocations: 0 / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.00871, allocations: 35.88 kB / 356.3 MB, free: 0.5078 MB / 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.0008353/0.009545, allocations: 378.8 kB / 356.7 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.009649, allocations: 39.67 kB / 356.7 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00965, allocations: 0 / 356.7 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.00967, allocations: 23.61 kB / 356.7 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.009925, allocations: 27.22 kB / 356.8 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.01065, allocations: 0.5743 MB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.01073, allocations: 115.3 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.7e-05/0.01076, allocations: 7.984 kB / 357.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.01078, allocations: 12.5 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 5.1e-07/0.01078, allocations: 4 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.004594/0.01538, allocations: 1.427 MB / 358.9 MB, free: 13.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.333417675923556]