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.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001414/0.001414, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2223/0.2223, allocations: 46.94 MB / 360.8 MB, free: 4.031 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 83.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3106, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003457/0.314, allocations: 1.826 MB / 0.5625 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3156, allocations: 0.9629 MB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.3157, allocations: 0 / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3159, allocations: 71.72 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.3163, allocations: 123.4 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3167, allocations: 158.8 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.317, allocations: 195.4 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3171, allocations: 19.58 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3172, allocations: 91.61 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3174, allocations: 91.64 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.3174, allocations: 15.98 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3175, allocations: 51.92 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.3176, allocations: 43.83 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.3177, allocations: 63.64 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.318, allocations: 191.2 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.318, allocations: 0 / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.318, allocations: 0 / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.318, allocations: 4 kB / 0.5645 GB, free: 136 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.001042/0.319, allocations: 0.5045 MB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3191, allocations: 12.03 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.3191, allocations: 38.73 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.3191, allocations: 16.84 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.3194, allocations: 179.3 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3194, allocations: 4.375 kB / 0.5652 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.3194, allocations: 12.38 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.3199, allocations: 141.7 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3199, allocations: 0 / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.32, allocations: 4 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.32, allocations: 7.828 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.3206, allocations: 159.8 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.3211, allocations: 319.7 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.3219, allocations: 194.4 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.3223, allocations: 88.77 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3223, allocations: 7.938 kB / 0.5661 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/0.3228, allocations: 159.2 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3228, allocations: 0 / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003605/0.3265, allocations: 0.821 MB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3265, allocations: 59.39 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.3268, allocations: 256.9 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3268, allocations: 37.64 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.3269, allocations: 124.1 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.327, allocations: 35.69 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.3271, allocations: 37.7 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3272, allocations: 330.8 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/0.3279, allocations: 223.2 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.3286, allocations: 223.2 kB / 0.5683 GB, free: 11.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.33, allocations: 366.2 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.33, allocations: 4 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001561/0.3315, allocations: 0.5076 MB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.3316, allocations: 59.41 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3316, allocations: 0 / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3316, allocations: 3.984 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.332, allocations: 71.91 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.332, allocations: 4 kB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.3324, allocations: 67.95 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.3325, allocations: 7.938 kB / 0.5694 GB, free: 10.83 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.0001497/0.3326, allocations: 145.7 kB / 0.5695 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3326, allocations: 23.86 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3341, allocations: 398.7 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3342, allocations: 4 kB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3342, allocations: 0 / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3342, allocations: 11.92 kB / 0.57 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.3359, allocations: 0.6526 MB / 0.5706 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3359, allocations: 0 / 0.5706 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.3362, allocations: 67.91 kB / 0.5707 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3362, allocations: 4 kB / 0.5707 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.3363, allocations: 3.938 kB / 0.5707 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3363, allocations: 0 / 0.5707 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3363, allocations: 0 / 0.5707 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3377, allocations: 487 kB / 0.5711 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.3378, allocations: 19.91 kB / 0.5711 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.3378, allocations: 7.922 kB / 0.5712 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.3382, allocations: 67.91 kB / 0.5712 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.3384, allocations: 47.92 kB / 0.5713 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3384, allocations: 0 / 0.5713 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3386, allocations: 189.8 kB / 0.5714 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3386, allocations: 0 / 0.5714 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3389, allocations: 47.92 kB / 0.5715 GB, free: 8.598 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.003271/0.3421, allocations: 1.339 MB / 0.5728 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.3437, allocations: 0.5096 MB / 0.5733 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3437, allocations: 0 / 0.5733 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.3444, allocations: 175.7 kB / 0.5735 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3448, allocations: 40.62 kB / 0.5735 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.3511, allocations: 3.057 MB / 0.5765 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3512, allocations: 111.3 kB / 0.5766 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.3514, allocations: 17.42 kB / 0.5766 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3515, allocations: 59.41 kB / 0.5767 GB, free: 3.223 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3515, allocations: 0 / 0.5767 GB, free: 3.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.3835, allocations: 6.671 MB / 0.5832 GB, free: 12.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.18, allocations: 7.438 kB / 0.5832 GB, free: 12.59 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] 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.u,d_t_new.y,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 14.079314497765154]