Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001372/0.001372, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001671/0.001671, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.227/0.227, allocations: 44.9 MB / 359.6 MB, free: 6.332 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",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.002012/0.002012, allocations: 67.89 kB / 0.4939 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002946/0.3564, allocations: 1.63 MB / 0.5594 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3575, allocations: 0.5738 MB / 0.56 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.3575, allocations: 0 / 0.56 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.3578, allocations: 123.7 kB / 0.5601 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.3581, allocations: 123.6 kB / 0.5602 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.3584, allocations: 119.6 kB / 0.5603 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.3587, allocations: 99.73 kB / 0.5604 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3588, allocations: 13.81 kB / 0.5604 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.3589, allocations: 43.89 kB / 0.5605 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.359, allocations: 95.7 kB / 0.5606 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3591, allocations: 8 kB / 0.5606 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3592, allocations: 51.97 kB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.3592, allocations: 19.92 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.3593, allocations: 43.61 kB / 0.5607 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.3596, allocations: 127.4 kB / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3596, allocations: 0 / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3596, allocations: 0 / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3596, allocations: 0 / 0.5608 GB, free: 4.738 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005915/0.3602, allocations: 365.4 kB / 0.5611 GB, free: 4.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3602, allocations: 16.03 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.3602, allocations: 192 / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.3603, allocations: 34.75 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.3603, allocations: 16.84 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.3606, allocations: 166.3 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.3606, allocations: 384 / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.3606, allocations: 8.125 kB / 0.5614 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3608, allocations: 61.64 kB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3608, allocations: 0 / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3608, allocations: 4 kB / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3608, allocations: 0 / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3609, allocations: 23.98 kB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.3614, allocations: 279.8 kB / 0.5617 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3615, allocations: 46.55 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.3616, allocations: 20.86 kB / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3616, allocations: 96 / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3617, allocations: 38.55 kB / 0.5618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3617, allocations: 0 / 0.5618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.3627, allocations: 261 kB / 0.5621 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3627, allocations: 59.42 kB / 0.5621 GB, free: 3.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.363, allocations: 275.8 kB / 0.5624 GB, free: 2.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3631, allocations: 25.7 kB / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.3632, allocations: 116.1 kB / 0.5625 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3632, allocations: 27.73 kB / 0.5626 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.3632, allocations: 21.72 kB / 0.5626 GB, free: 2.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3634, allocations: 330.8 kB / 0.5629 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.73e-05/0.3635, allocations: 31.97 kB / 0.5629 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.3636, allocations: 27.98 kB / 0.563 GB, free: 2.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.3637, allocations: 72.81 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3637, allocations: 0 / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002557/0.364, allocations: 117.5 kB / 0.5631 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.364, allocations: 8 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.364, allocations: 4 kB / 0.5631 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.364, allocations: 0 / 0.5631 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3641, allocations: 15.98 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3641, allocations: 3.938 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.3642, allocations: 7.984 kB / 0.5632 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3642, allocations: 4 kB / 0.5632 GB, free: 2.094 MB / 398.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 (8): * Single equations (assignments): 8 * 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.000117/0.3643, allocations: 135.1 kB / 0.5633 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3643, allocations: 15.91 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.3647, allocations: 143 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3647, allocations: 0 / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3647, allocations: 7.938 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3647, allocations: 0 / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.3653, allocations: 406.7 kB / 0.5639 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3653, allocations: 7.969 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.3653, allocations: 15.98 kB / 0.5639 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3653, allocations: 0 / 0.5639 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3654, allocations: 4 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3654, allocations: 0 / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3654, allocations: 432 / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3657, allocations: 228.1 kB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3657, allocations: 19.84 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3657, allocations: 0 / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.3658, allocations: 7.984 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3658, allocations: 7.984 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3658, allocations: 0 / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.366, allocations: 216.1 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.366, allocations: 0 / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3663, allocations: 23.94 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002225/0.3685, allocations: 1.111 MB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3688, allocations: 67.95 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3688, allocations: 0 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3689, allocations: 47.8 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3693, allocations: 25.7 kB / 0.5656 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3715, allocations: 1.855 MB / 0.5674 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3718, allocations: 0.7236 MB / 0.5681 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.3719, allocations: 20.94 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.372, allocations: 43.42 kB / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.372, allocations: 0 / 0.5682 GB, free: 12.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3944, allocations: 3.655 MB / 0.5717 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 11.19 kB / 0.5717 GB, free: 9.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.87777596100932]