Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001711/0.001711, 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 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.002002/0.002002, allocations: 216.7 kB / 23.73 MB, free: 4.16 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.23/0.23, allocations: 44.93 MB / 358.8 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) [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.002141/0.002141, allocations: 63.91 kB / 0.493 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 65.47 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003099/0.3402, allocations: 1.683 MB / 0.5586 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3413, allocations: 0.5699 MB / 0.5592 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.3414, allocations: 0 / 0.5592 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.342, allocations: 451.1 kB / 0.5596 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.3425, allocations: 295.3 kB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3429, allocations: 179.4 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3432, allocations: 187.6 kB / 0.5602 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3433, allocations: 18.05 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3434, allocations: 123.6 kB / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3437, allocations: 251.5 kB / 0.5606 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.3438, allocations: 4 kB / 0.5606 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3439, allocations: 47.98 kB / 0.5607 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.344, allocations: 87.69 kB / 0.5608 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.021e-05/0.3441, allocations: 75.23 kB / 0.5608 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.3445, allocations: 302.4 kB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3445, allocations: 0 / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3445, allocations: 0 / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3445, allocations: 0 / 0.5611 GB, free: 3.258 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008422/0.3453, allocations: 0.6009 MB / 0.5617 GB, free: 2.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.3454, allocations: 12.03 kB / 0.5617 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.3454, allocations: 34.75 kB / 0.5617 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.3455, allocations: 44.66 kB / 0.5618 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3458, allocations: 250.8 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3458, allocations: 12.31 kB / 0.562 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3458, allocations: 8.328 kB / 0.562 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.346, allocations: 65.61 kB / 0.5621 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.346, allocations: 4 kB / 0.5621 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3461, allocations: 4 kB / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3461, allocations: 0 / 0.5621 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.3462, allocations: 39.95 kB / 0.5622 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.3468, allocations: 387.7 kB / 0.5625 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.3471, allocations: 58.55 kB / 0.5626 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.3472, allocations: 24.97 kB / 0.5626 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3472, allocations: 4.031 kB / 0.5626 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3472, allocations: 38.55 kB / 0.5626 GB, free: 1.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.3472, allocations: 3.938 kB / 0.5626 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001619/0.3489, allocations: 0.5044 MB / 0.5631 GB, free: 1.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3489, allocations: 55.41 kB / 0.5632 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/0.3499, allocations: 0.8776 MB / 0.5641 GB, free: 84 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3499, allocations: 25.7 kB / 0.5641 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3501, allocations: 212.1 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.3501, allocations: 43.69 kB / 0.5643 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.3502, allocations: 21.72 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3504, allocations: 362.8 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3505, allocations: 55.95 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3507, allocations: 59.95 kB / 0.5648 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.351, allocations: 124.7 kB / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.351, allocations: 0 / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000392/0.3513, allocations: 201.6 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3514, allocations: 4 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3514, allocations: 0 / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3514, allocations: 7.938 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3515, allocations: 27.97 kB / 0.5651 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3515, allocations: 0 / 0.5651 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.3516, allocations: 15.92 kB / 0.5652 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3516, allocations: 4 kB / 0.5652 GB, free: 14.91 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.0002198/0.3518, allocations: 221.8 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3519, allocations: 51.67 kB / 0.5654 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.3524, allocations: 229.5 kB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3524, allocations: 3.938 kB / 0.5656 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3524, allocations: 4 kB / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3524, allocations: 0 / 0.5657 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008738/0.3533, allocations: 0.5615 MB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3533, allocations: 0 / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3534, allocations: 36.09 kB / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3534, allocations: 0 / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3534, allocations: 8 kB / 0.5662 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3534, allocations: 4 kB / 0.5662 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3534, allocations: 0 / 0.5662 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.3539, allocations: 312.9 kB / 0.5665 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.354, allocations: 39.66 kB / 0.5666 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.354, allocations: 7.984 kB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3541, allocations: 11.94 kB / 0.5666 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3541, allocations: 7.984 kB / 0.5666 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3542, allocations: 7.984 kB / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006905/0.3549, allocations: 0.655 MB / 0.5673 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3549, allocations: 0 / 0.5673 GB, free: 12.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3551, allocations: 35.92 kB / 0.5673 GB, free: 12.62 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.002545/0.3577, allocations: 1.233 MB / 0.5685 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.358, allocations: 123.8 kB / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.3581, allocations: 4 kB / 0.5686 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.3582, allocations: 63.89 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3586, allocations: 28.55 kB / 0.5687 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.3633, allocations: 3.561 MB / 0.5722 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3636, allocations: 240.7 kB / 0.5724 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3637, allocations: 28.45 kB / 0.5724 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.3639, allocations: 127.4 kB / 0.5726 GB, free: 7.305 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3639, allocations: 0 / 0.5726 GB, free: 7.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.4006, allocations: 7.204 MB / 0.5796 GB, free: 152 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 10.3 kB / 0.5796 GB, free: 148 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 14.826953879091889]