Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.00199/0.00199, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002567/0.002567, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.511/1.511, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.2577/0.2577, allocations: 46.96 MB / 361.6 MB, free: 3.93 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 83.81 kB / 0.4974 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3607, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00376/0.3645, allocations: 1.815 MB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3664, allocations: 0.963 MB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3665, allocations: 3.938 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.3667, allocations: 59.73 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.3672, allocations: 135.4 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.3677, allocations: 158.8 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.368, allocations: 191.5 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3681, allocations: 17.73 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3682, allocations: 83.67 kB / 0.5653 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3684, allocations: 103.6 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3684, allocations: 12 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3685, allocations: 43.98 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3686, allocations: 47.78 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.3687, allocations: 55.7 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.3691, allocations: 189.6 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3691, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3691, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3691, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001133/0.3702, allocations: 0.5084 MB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3702, allocations: 8.031 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.3703, allocations: 24.8 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.3706, allocations: 178.2 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3706, allocations: 4.375 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.3706, allocations: 8.375 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.3711, allocations: 145.8 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3711, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3712, allocations: 4 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3712, allocations: 4 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.3719, allocations: 155.8 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.3724, allocations: 292.3 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.3732, allocations: 190.5 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.3735, allocations: 92.69 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.3736, allocations: 4 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.3742, allocations: 167.1 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.3742, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003767/0.3779, allocations: 0.8167 MB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.378, allocations: 59.41 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3783, allocations: 244.2 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3783, allocations: 33.7 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.3784, allocations: 124.6 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.3785, allocations: 43.62 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.3786, allocations: 33.7 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3787, allocations: 334.8 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/0.3795, allocations: 223.2 kB / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.3802, allocations: 231.6 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3816, allocations: 363.8 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3816, allocations: 0 / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00161/0.3832, allocations: 0.5057 MB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.3833, allocations: 63.41 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3833, allocations: 0 / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3833, allocations: 0 / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.3837, allocations: 71.83 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3837, allocations: 8 kB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.3841, allocations: 59.91 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3842, allocations: 8 kB / 0.5705 GB, free: 10.89 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001664/0.3843, allocations: 141.7 kB / 0.5707 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3844, allocations: 19.86 kB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.3859, allocations: 409.8 kB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.386, allocations: 0 / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.386, allocations: 0 / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.386, allocations: 0 / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3878, allocations: 0.6307 MB / 0.5717 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3878, allocations: 0 / 0.5717 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3882, allocations: 71.84 kB / 0.5718 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3882, allocations: 3.938 kB / 0.5718 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3882, allocations: 8 kB / 0.5718 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3882, allocations: 0 / 0.5718 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3882, allocations: 3.938 kB / 0.5718 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3897, allocations: 487 kB / 0.5722 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.3898, allocations: 11.91 kB / 0.5722 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.3898, allocations: 4 kB / 0.5722 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.3902, allocations: 67.89 kB / 0.5723 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.3904, allocations: 51.86 kB / 0.5724 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3904, allocations: 7.984 kB / 0.5724 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.3906, allocations: 184.6 kB / 0.5725 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3906, allocations: 3.938 kB / 0.5725 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.3909, allocations: 40 kB / 0.5726 GB, free: 8.699 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001714/0.3927, allocations: 427.8 kB / 0.573 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.3943, allocations: 0.5095 MB / 0.5735 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3943, allocations: 0 / 0.5735 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.3951, allocations: 175.8 kB / 0.5737 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3955, allocations: 40.56 kB / 0.5737 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3966, allocations: 384.3 kB / 0.5741 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3967, allocations: 115.8 kB / 0.5742 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3968, allocations: 23.44 kB / 0.5742 GB, free: 7.102 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3968, allocations: 0 / 0.5742 GB, free: 7.102 MB / 414.1 MB Notification: Performance of Templates: time 0.006022/0.4028, allocations: 3.271 MB / 0.5774 GB, free: 3.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.239283754955977]