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.001441/0.001441, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.00447/0.00447, allocations: 167 kB / 24.84 MB, free: 8.91 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.001/1.001, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.13/0.13, allocations: 32.37 MB / 271.5 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.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.633e-06/1.633e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.055e-05, allocations: 6.25 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002378/0.002399, allocations: 1.642 MB / 350.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004331/0.002832, allocations: 315.4 kB / 350.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.002883, allocations: 4 kB / 350.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.003275, allocations: 455 kB / 351.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.003518, allocations: 251.4 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.003713, allocations: 107.7 kB / 351.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.00387, allocations: 167.6 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.00397, allocations: 8.188 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.004082, allocations: 115.8 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004241, allocations: 235.7 kB / 352.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.004259, allocations: 4 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.004323, allocations: 39.91 kB / 352.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.004402, allocations: 79.72 kB / 352.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.004429, allocations: 35.73 kB / 352.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.004597, allocations: 199.1 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004599, allocations: 0 / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.004599, allocations: 0 / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004604, allocations: 0 / 352.5 MB, free: 5.535 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.0004051/0.005009, allocations: 0.6815 MB / 353.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.005042, allocations: 12.03 kB / 353.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.005088, allocations: 44.66 kB / 353.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005231, allocations: 248.8 kB / 353.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.005241, allocations: 4.375 kB / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.005258, allocations: 384 / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.381e-05/0.005341, allocations: 58.94 kB / 353.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.005352, allocations: 192 / 353.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.005359, allocations: 7.938 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005364, allocations: 0 / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.005385, allocations: 4 kB / 353.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.005646, allocations: 348.2 kB / 353.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.005782, allocations: 39.06 kB / 354 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.005797, allocations: 19.7 kB / 354 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.005812, allocations: 0 / 354 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.005826, allocations: 37.39 kB / 354 MB, free: 3.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.005827, allocations: 0 / 354 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002653/0.006092, allocations: 121.5 kB / 354.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.006114, allocations: 55.41 kB / 354.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.006371, allocations: 0.5961 MB / 354.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.006379, allocations: 29.7 kB / 354.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.006487, allocations: 294.7 kB / 355.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.006508, allocations: 15.83 kB / 355.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.006532, allocations: 27.36 kB / 355.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.006612, allocations: 0.5547 MB / 355.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.006622, allocations: 4 kB / 355.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.006634, allocations: 7.984 kB / 355.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.006659, allocations: 15.69 kB / 355.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.006661, allocations: 3.938 kB / 355.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.924e-05/0.00673, allocations: 97.39 kB / 355.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.006741, allocations: 8 kB / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006746, allocations: 3.938 kB / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006757, allocations: 0 / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.006806, allocations: 8 kB / 355.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.006809, allocations: 4 kB / 355.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.006833, allocations: 7.984 kB / 355.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.006838, allocations: 0 / 355.9 MB, free: 2.004 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.73e-05/0.006895, allocations: 164.5 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.006923, allocations: 39.72 kB / 356.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.272e-05/0.007015, allocations: 93.36 kB / 356.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.007017, allocations: 0 / 356.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.00702, allocations: 8.062 kB / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007022, allocations: 0 / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.007223, allocations: 385.8 kB / 356.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007224, allocations: 7.984 kB / 356.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.007248, allocations: 8 kB / 356.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.00725, allocations: 4 kB / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.007254, allocations: 0 / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007255, allocations: 0 / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007256, allocations: 0 / 356.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.007327, allocations: 243.5 kB / 356.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.007344, allocations: 27.77 kB / 356.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007358, allocations: 4 kB / 356.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.007395, allocations: 11.92 kB / 356.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.007419, allocations: 4 kB / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.007422, allocations: 4 kB / 356.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.007565, allocations: 386.7 kB / 357.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007565, allocations: 0 / 357.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.007736, allocations: 23.94 kB / 357.2 MB, free: 0.5508 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.0006839/0.00842, allocations: 383.3 kB / 357.6 MB, free: 276 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.008492, allocations: 31.61 kB / 357.6 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008494, allocations: 0 / 357.6 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.008512, allocations: 19.69 kB / 357.7 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.008738, allocations: 31.34 kB / 357.7 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.009276, allocations: 0.5704 MB / 358.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.00935, allocations: 119.2 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.009376, allocations: 8 kB / 358.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.009429, allocations: 78.19 kB / 358.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00943, allocations: 0 / 358.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003849/0.01328, allocations: 1.471 MB / 359.9 MB, free: 13.89 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.1719737397506833]