Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.0008745/0.0008745, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003827/0.003827, allocations: 158.6 kB / 24.7 MB, free: 8.898 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.916/0.916, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2656/0.2656, allocations: 32.8 MB / 294.2 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] 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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.662e-05, allocations: 5.094 kB / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002178/0.002205, allocations: 1.669 MB / 442.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.002949, allocations: 0.5646 MB / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.003007, allocations: 0 / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.003257, allocations: 83.64 kB / 443.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.00351, allocations: 107.5 kB / 443.3 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/0.004077, allocations: 176.2 kB / 443.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.004227, allocations: 103.7 kB / 443.6 MB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004328, allocations: 16.22 kB / 443.6 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.004392, allocations: 43.89 kB / 443.6 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.004484, allocations: 51.88 kB / 443.7 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.004498, allocations: 4 kB / 443.7 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.004576, allocations: 55.91 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.004638, allocations: 27.86 kB / 443.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.004666, allocations: 19.91 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.00485, allocations: 119.6 kB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004852, allocations: 0 / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004854, allocations: 4 kB / 443.9 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.00486, allocations: 0 / 443.9 MB, free: 0.6602 MB / 410.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.0004551/0.005315, allocations: 357.4 kB / 444.2 MB, free: 288 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.005351, allocations: 12.03 kB / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.005388, allocations: 8.891 kB / 444.3 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.005535, allocations: 149.5 kB / 444.4 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005546, allocations: 8.375 kB / 444.4 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.005568, allocations: 4.375 kB / 444.4 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.005712, allocations: 62.22 kB / 444.5 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.005723, allocations: 8.188 kB / 444.5 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2075/0.2132, allocations: 4.391 kB / 444.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2132, allocations: 3.375 kB / 444.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2134, allocations: 38.44 kB / 444.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.2137, allocations: 264.5 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2139, allocations: 54.94 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.2139, allocations: 31.8 kB / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.214, allocations: 0 / 444.9 MB, free: 46.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.214, allocations: 36.97 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.214, allocations: 5.781 kB / 444.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008263/0.2148, allocations: 424.7 kB / 445.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.2148, allocations: 59.28 kB / 445.4 MB, free: 46.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2149, allocations: 208.4 kB / 445.6 MB, free: 46.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2149, allocations: 29.45 kB / 445.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.215, allocations: 112.8 kB / 445.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.215, allocations: 39.62 kB / 445.8 MB, free: 46.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.215, allocations: 31.3 kB / 445.8 MB, free: 46.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.2151, allocations: 330.5 kB / 446.1 MB, free: 45.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.2151, allocations: 51.97 kB / 446.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.2152, allocations: 52.48 kB / 446.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2153, allocations: 126 kB / 446.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2153, allocations: 6.625 kB / 446.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001649/0.2155, allocations: 171.5 kB / 446.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2155, allocations: 5.312 kB / 446.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2155, allocations: 0 / 446.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2155, allocations: 0 / 446.5 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.2156, allocations: 30.39 kB / 446.6 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.2156, allocations: 3.562 kB / 446.6 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.2156, allocations: 12.28 kB / 446.6 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2156, allocations: 2.75 kB / 446.6 MB, free: 45.78 MB / 410.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 5.457e-05/0.2157, allocations: 136.7 kB / 446.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.2157, allocations: 17.56 kB / 446.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.2159, allocations: 191.5 kB / 446.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2159, allocations: 3.375 kB / 446.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2159, allocations: 0 / 446.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2159, allocations: 2.594 kB / 446.9 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.2163, allocations: 443.4 kB / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2163, allocations: 3.125 kB / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.2163, allocations: 30.8 kB / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2163, allocations: 2.875 kB / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2163, allocations: 7.188 kB / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2163, allocations: 0 / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2164, allocations: 0 / 447.4 MB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.2165, allocations: 275 kB / 447.7 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.2165, allocations: 19.52 kB / 447.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2166, allocations: 6.844 kB / 447.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.2166, allocations: 12.55 kB / 447.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2166, allocations: 9.125 kB / 447.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2166, allocations: 2.875 kB / 447.7 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.213e-05/0.2167, allocations: 174 kB / 447.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2167, allocations: 0 / 447.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.2169, allocations: 30.25 kB / 447.9 MB, free: 44.94 MB / 410.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.0007145/0.2176, allocations: 490.9 kB / 448.4 MB, free: 44.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.2178, allocations: 132.1 kB / 448.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2178, allocations: 0 / 448.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.2178, allocations: 63.97 kB / 448.6 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.2181, allocations: 22.03 kB / 448.6 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.2185, allocations: 356.6 kB / 449 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.187e-05/0.2185, allocations: 104.7 kB / 449.1 MB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.2186, allocations: 20.3 kB / 449.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2186, allocations: 2.938 kB / 449.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of Templates: time 0.002482/0.2211, allocations: 2.177 MB / 451.3 MB, free: 44.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 4.775513026863337]