Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.96 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 75.88 kB / 0.4974 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3492, allocations: 66.08 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003296/0.3525, allocations: 1.668 MB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3536, allocations: 0.5421 MB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.3536, allocations: 0 / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.3543, allocations: 451.2 kB / 0.5645 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.3548, allocations: 299.3 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.3551, allocations: 142.8 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.3554, allocations: 171.6 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3555, allocations: 24.14 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3556, allocations: 115.7 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.3559, allocations: 247.5 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3559, allocations: 4 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.356, allocations: 51.98 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3561, allocations: 83.67 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.3562, allocations: 87.17 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.3566, allocations: 277 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3566, allocations: 4 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3566, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3566, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 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.0008567/0.3575, allocations: 0.5931 MB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3575, allocations: 12.02 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.3576, allocations: 48.61 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3579, allocations: 238.8 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3579, allocations: 8.359 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.3579, allocations: 8.375 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3581, allocations: 66.17 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3581, allocations: 4.172 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3581, allocations: 3.938 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3581, allocations: 4 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3583, allocations: 31.97 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.3588, allocations: 344.3 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.359, allocations: 58.5 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.3591, allocations: 28.95 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3591, allocations: 0 / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3591, allocations: 34.66 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3591, allocations: 3.938 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001497/0.3606, allocations: 472.4 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3607, allocations: 51.41 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008982/0.3616, allocations: 0.8614 MB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3616, allocations: 25.7 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3618, allocations: 224 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.3618, allocations: 39.62 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.3619, allocations: 21.72 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3621, allocations: 366.7 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3622, allocations: 43.91 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3623, allocations: 47.97 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3626, allocations: 104.7 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3626, allocations: 0 / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003497/0.3629, allocations: 173.3 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3629, allocations: 10.19 kB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3629, allocations: 0 / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.363, allocations: 4 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3631, allocations: 27.97 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3631, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.3632, allocations: 4 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3632, allocations: 15.92 kB / 0.5698 GB, free: 11.73 MB / 414.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 (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 0.000201/0.3634, allocations: 213.7 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.3634, allocations: 51.67 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.3639, allocations: 205.4 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3639, allocations: 4 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3639, allocations: 0.5625 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3639, allocations: 3.938 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.3647, allocations: 0.4996 MB / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3647, allocations: 0 / 0.5707 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3648, allocations: 27.98 kB / 0.5708 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3648, allocations: 4 kB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3648, allocations: 11.88 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3648, allocations: 4 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3648, allocations: 0 / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.3652, allocations: 281.5 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.3652, allocations: 39.72 kB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.3653, allocations: 3.938 kB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3654, allocations: 11.98 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.3654, allocations: 15.92 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.3654, allocations: 4 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006409/0.3661, allocations: 0.655 MB / 0.5718 GB, free: 9.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 0.5718 GB, free: 9.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3664, allocations: 35.89 kB / 0.5718 GB, free: 9.59 MB / 414.1 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.00185/0.3682, allocations: 480.2 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003618/0.3686, allocations: 111.8 kB / 0.5724 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3686, allocations: 4 kB / 0.5724 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3687, allocations: 51.91 kB / 0.5724 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.3691, allocations: 30.58 kB / 0.5725 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3706, allocations: 0.9035 MB / 0.5733 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3708, allocations: 228.1 kB / 0.5736 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.3709, allocations: 15.44 kB / 0.5736 GB, free: 7.895 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3709, allocations: 0 / 0.5736 GB, free: 7.895 MB / 414.1 MB Notification: Performance of Templates: time 0.008154/0.379, allocations: 4.269 MB / 0.5777 GB, free: 3.625 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.99638966890052]