Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001651/0.001651, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001794/0.001794, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.3019/0.3019, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3388, allocations: 65.46 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003062/0.3418, allocations: 1.647 MB / 0.5599 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3429, allocations: 0.5807 MB / 0.5604 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.3429, allocations: 3.938 kB / 0.5604 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.3435, allocations: 451.1 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.344, allocations: 299.2 kB / 0.5611 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.3444, allocations: 171.3 kB / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.3446, allocations: 183.6 kB / 0.5615 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.3447, allocations: 7.984 kB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3448, allocations: 111.8 kB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3451, allocations: 251.5 kB / 0.5618 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3451, allocations: 4 kB / 0.5618 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.3452, allocations: 23.94 kB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3453, allocations: 87.62 kB / 0.5619 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.74e-05/0.3454, allocations: 99 kB / 0.562 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.3457, allocations: 261 kB / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3457, allocations: 0 / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3457, allocations: 4 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3457, allocations: 0 / 0.5623 GB, free: 3.551 MB / 398.1 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.0007365/0.3465, allocations: 0.5777 MB / 0.5629 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3465, allocations: 12.03 kB / 0.5629 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.3466, allocations: 44.61 kB / 0.5629 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3469, allocations: 246.8 kB / 0.5631 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-06/0.3469, allocations: 384 / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3469, allocations: 4.375 kB / 0.5632 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.347, allocations: 58.78 kB / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.347, allocations: 8 kB / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.347, allocations: 0 / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.347, allocations: 0 / 0.5632 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3472, allocations: 31.97 kB / 0.5632 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3477, allocations: 367.8 kB / 0.5636 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3478, allocations: 50.5 kB / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.3479, allocations: 24.94 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3479, allocations: 3.984 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3479, allocations: 30.56 kB / 0.5637 GB, free: 1.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/0.3479, allocations: 3.984 kB / 0.5637 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003457/0.3483, allocations: 133.3 kB / 0.5638 GB, free: 1.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3483, allocations: 59.41 kB / 0.5639 GB, free: 1.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.3492, allocations: 0.8536 MB / 0.5647 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3493, allocations: 29.7 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3494, allocations: 212.1 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3495, allocations: 19.89 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3495, allocations: 9.719 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3497, allocations: 370.7 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.3498, allocations: 15.98 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.3498, allocations: 23.92 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.35, allocations: 44.83 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.35, allocations: 0 / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.3502, allocations: 117.3 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3502, allocations: 4 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3502, allocations: 0 / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3502, allocations: 4 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.3503, allocations: 15.98 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3503, allocations: 0 / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.3503, allocations: 7.984 kB / 0.5656 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3504, allocations: 0 / 0.5656 GB, free: 16 kB / 398.1 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 (3): * Single equations (assignments): 3 * 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.0002324/0.3506, allocations: 213.7 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3506, allocations: 43.72 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.3509, allocations: 129 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3509, allocations: 0 / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3509, allocations: 0 / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3509, allocations: 4 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.3513, allocations: 264.6 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3513, allocations: 0 / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.3513, allocations: 11.98 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3513, allocations: 0 / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3513, allocations: 0 / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3513, allocations: 3.938 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3513, allocations: 4 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3516, allocations: 215.1 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3517, allocations: 39.66 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3517, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.3518, allocations: 4 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.3518, allocations: 8.344 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3518, allocations: 4 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007216/0.3525, allocations: 0.655 MB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3525, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3528, allocations: 19.98 kB / 0.5671 GB, free: 14.34 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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.001266/0.354, allocations: 343.3 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3542, allocations: 47.89 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3542, allocations: 0 / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.3543, allocations: 23.98 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3547, allocations: 26.17 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3559, allocations: 0.8392 MB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.3565, allocations: 0.8221 MB / 0.5692 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.3566, allocations: 11.44 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3566, allocations: 0 / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.00708/0.3637, allocations: 3.579 MB / 0.5727 GB, free: 8.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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: 7.85694815707393]