Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001175/0.001175, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.004021/0.004021, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.9045/0.9045, allocations: 177.2 MB / 205 MB, free: 5.711 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.2502/0.2502, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.343e-05, allocations: 6.219 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002171/0.002195, allocations: 1.619 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007319/0.002927, allocations: 0.5413 MB / 443 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.002984, allocations: 3.938 kB / 443 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.003441, allocations: 447 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.003842, allocations: 299.2 kB / 443.8 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.004146, allocations: 169.8 kB / 443.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.004361, allocations: 171.6 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004485, allocations: 8 kB / 444.1 MB, free: 488 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.004599, allocations: 119.8 kB / 444.2 MB, free: 368 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.005154, allocations: 239.6 kB / 444.4 MB, free: 128 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.00517, allocations: 4 kB / 444.4 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.005232, allocations: 23.98 kB / 444.5 MB, free: 100 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.005321, allocations: 87.7 kB / 444.6 MB, free: 12 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2186/0.2239, allocations: 31.58 kB / 444.6 MB, free: 44.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.2243, allocations: 231.5 kB / 444.8 MB, free: 44.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2243, allocations: 4.094 kB / 444.8 MB, free: 44.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2243, allocations: 0 / 444.8 MB, free: 44.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.2243, allocations: 0 / 444.8 MB, free: 44.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000555/0.2248, allocations: 0.5711 MB / 445.4 MB, free: 44.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2249, allocations: 8.75 kB / 445.4 MB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.2249, allocations: 42.59 kB / 445.4 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.2251, allocations: 243 kB / 445.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2251, allocations: 4.953 kB / 445.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2251, allocations: 5.188 kB / 445.7 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2253, allocations: 50.56 kB / 445.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2253, allocations: 192 / 445.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2253, allocations: 4.5 kB / 445.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2253, allocations: 3.938 kB / 445.7 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.2254, allocations: 27.67 kB / 445.8 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.2258, allocations: 321.2 kB / 446.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.2259, allocations: 34.06 kB / 446.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.2259, allocations: 13.47 kB / 446.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2259, allocations: 13.09 kB / 446.1 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2259, allocations: 38.72 kB / 446.2 MB, free: 43.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.2259, allocations: 0 / 446.2 MB, free: 43.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002265/0.2262, allocations: 97.94 kB / 446.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2262, allocations: 55.66 kB / 446.3 MB, free: 43.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.2268, allocations: 0.8706 MB / 447.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.2268, allocations: 25.7 kB / 447.2 MB, free: 43.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2269, allocations: 212.4 kB / 447.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2269, allocations: 10.16 kB / 447.4 MB, free: 43.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.2269, allocations: 15.91 kB / 447.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.227, allocations: 359.1 kB / 447.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.2271, allocations: 8.766 kB / 447.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.2271, allocations: 16.25 kB / 447.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.2271, allocations: 29.95 kB / 447.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2271, allocations: 0 / 447.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.46e-05/0.2272, allocations: 95.73 kB / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2273, allocations: 5.75 kB / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2273, allocations: 0 / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2273, allocations: 6.656 kB / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.2273, allocations: 6.328 kB / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2274, allocations: 1.688 kB / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.2274, allocations: 2.938 kB / 448 MB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.2274, allocations: 0 / 448 MB, free: 42.87 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 (2): * Single equations (assignments): 2 * 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 0.0001355/0.2275, allocations: 219.3 kB / 448.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.2276, allocations: 45.28 kB / 448.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.2278, allocations: 103.5 kB / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2278, allocations: 3.219 kB / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.2278, allocations: 0 / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.2278, allocations: 2.844 kB / 448.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.228, allocations: 231.9 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.228, allocations: 0 / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.228, allocations: 6.156 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.228, allocations: 3.938 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.228, allocations: 2.875 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.228, allocations: 2.719 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.228, allocations: 1.812 kB / 448.6 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.2281, allocations: 191.7 kB / 448.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.2281, allocations: 35.25 kB / 448.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2282, allocations: 7.219 kB / 448.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.2282, allocations: 6 kB / 448.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.2282, allocations: 0.5 kB / 448.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2282, allocations: 1.469 kB / 448.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000354/0.2286, allocations: 0.6516 MB / 449.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2286, allocations: 0 / 449.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.2288, allocations: 17.31 kB / 449.5 MB, free: 42.29 MB / 410.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 (2): * Single equations (assignments): 2 * 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.0006697/0.2294, allocations: 386.4 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.2295, allocations: 30.8 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2295, allocations: 0 / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.2296, allocations: 11.89 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2299, allocations: 21.97 kB / 449.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.2306, allocations: 0.8202 MB / 450.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2308, allocations: 220.4 kB / 451 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.2308, allocations: 11.5 kB / 451 MB, free: 41.7 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2308, allocations: 0 / 451 MB, free: 41.7 MB / 410.7 MB Notification: Performance of Templates: time 0.004736/0.2355, allocations: 3.654 MB / 454.6 MB, free: 40.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.902104490436614]