Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001351/0.001351, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001417/0.001417, allocations: 207 kB / 23.73 MB, free: 4.387 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.96 MB / 360.9 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.88 kB / 0.4961 GB, free: 7.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 66.03 MB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003764/0.3273, allocations: 1.819 MB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3293, allocations: 0.9948 MB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3294, allocations: 0 / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.3297, allocations: 63.67 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.3302, allocations: 127.4 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.3309, allocations: 207.2 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.3313, allocations: 207.4 kB / 0.5639 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3314, allocations: 15.58 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.3316, allocations: 91.67 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.3319, allocations: 99.58 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.3319, allocations: 12 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.332, allocations: 43.97 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3321, allocations: 43.89 kB / 0.5642 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.3322, allocations: 59.66 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.3326, allocations: 207.1 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3326, allocations: 0 / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3326, allocations: 0 / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3326, allocations: 4 kB / 0.5645 GB, free: 204 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.001344/0.334, allocations: 0.5083 MB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3341, allocations: 12.03 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.3341, allocations: 34.73 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.3342, allocations: 24.84 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.3345, allocations: 179.2 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3345, allocations: 8.375 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.3345, allocations: 11.92 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.335, allocations: 141.5 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3351, allocations: 3.938 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3351, allocations: 0 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3351, allocations: 4 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007074/0.3358, allocations: 167.8 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.3367, allocations: 383.6 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.3375, allocations: 190.4 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.3379, allocations: 96.75 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3379, allocations: 4 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006123/0.3385, allocations: 171.3 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.3385, allocations: 4 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003755/0.3423, allocations: 0.8318 MB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.3423, allocations: 59.34 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3426, allocations: 260.9 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3427, allocations: 29.7 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3428, allocations: 124.1 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.3428, allocations: 47.69 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.3429, allocations: 33.7 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3431, allocations: 330.8 kB / 0.568 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007946/0.3439, allocations: 235.2 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.3446, allocations: 227.2 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.3461, allocations: 382.8 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3461, allocations: 0 / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001615/0.3477, allocations: 0.5194 MB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.3477, allocations: 63.39 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3477, allocations: 4 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3478, allocations: 4 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.3482, allocations: 71.78 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3482, allocations: 112 / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.3486, allocations: 71.84 kB / 0.5695 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3486, allocations: 8.562 kB / 0.5695 GB, free: 10.74 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.0001484/0.3488, allocations: 133.8 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3488, allocations: 15.91 kB / 0.5697 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.3504, allocations: 426.9 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3504, allocations: 11.94 kB / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3504, allocations: 0 / 0.5701 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3504, allocations: 7.922 kB / 0.5701 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.3523, allocations: 0.6652 MB / 0.5708 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3523, allocations: 4 kB / 0.5708 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.3527, allocations: 71.84 kB / 0.5708 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3527, allocations: 4 kB / 0.5708 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3527, allocations: 0 / 0.5708 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3527, allocations: 3.938 kB / 0.5708 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3527, allocations: 0 / 0.5708 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3543, allocations: 499 kB / 0.5713 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3543, allocations: 19.8 kB / 0.5713 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3544, allocations: 11.98 kB / 0.5713 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.3548, allocations: 55.91 kB / 0.5714 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3549, allocations: 51.92 kB / 0.5714 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.355, allocations: 4 kB / 0.5714 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.3552, allocations: 188.5 kB / 0.5716 GB, free: 8.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3552, allocations: 4 kB / 0.5716 GB, free: 8.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.3555, allocations: 43.98 kB / 0.5717 GB, free: 8.473 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.003426/0.3589, allocations: 1.352 MB / 0.573 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.3605, allocations: 0.525 MB / 0.5735 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3605, allocations: 0 / 0.5735 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007951/0.3613, allocations: 183.8 kB / 0.5737 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3617, allocations: 39.95 kB / 0.5737 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.3684, allocations: 3.128 MB / 0.5768 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.3685, allocations: 115.3 kB / 0.5769 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.3687, allocations: 25.42 kB / 0.5769 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.3688, allocations: 59.41 kB / 0.577 GB, free: 3.016 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3688, allocations: 4 kB / 0.577 GB, free: 3.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.4048, allocations: 6.746 MB / 0.5836 GB, free: 12.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.51, allocations: 4 kB / 0.5836 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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[1],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(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,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[1],t_new.u2[1],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[1],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.523725148290396]