Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.00127/0.00127, 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.001401/0.001401, allocations: 202.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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2421/0.2421, allocations: 44.92 MB / 359.6 MB, free: 6.301 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001977/0.001977, allocations: 71.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3719, allocations: 65.47 MB / 0.5578 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003317/0.3752, allocations: 1.63 MB / 0.5594 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3763, allocations: 0.5621 MB / 0.56 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.3764, allocations: 4 kB / 0.56 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.3767, allocations: 103.7 kB / 0.5601 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.377, allocations: 123.5 kB / 0.5602 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.3774, allocations: 115.7 kB / 0.5603 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3776, allocations: 95.73 kB / 0.5604 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3777, allocations: 13.83 kB / 0.5604 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.3778, allocations: 39.89 kB / 0.5604 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.3779, allocations: 79.72 kB / 0.5605 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.378, allocations: 0 / 0.5605 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3781, allocations: 47.98 kB / 0.5606 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.3781, allocations: 27.86 kB / 0.5606 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3782, allocations: 35.69 kB / 0.5606 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3784, allocations: 115.4 kB / 0.5607 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3784, allocations: 4 kB / 0.5607 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3784, allocations: 4 kB / 0.5607 GB, free: 4.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3784, allocations: 0 / 0.5607 GB, free: 4.645 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.0005302/0.379, allocations: 357.5 kB / 0.5611 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.379, allocations: 11.97 kB / 0.5611 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.738e-05/0.379, allocations: 4.188 kB / 0.5611 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.3791, allocations: 38.75 kB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.3791, allocations: 8.891 kB / 0.5611 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3793, allocations: 155 kB / 0.5613 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3793, allocations: 4.375 kB / 0.5613 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3793, allocations: 8.125 kB / 0.5613 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3795, allocations: 61.66 kB / 0.5614 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3795, allocations: 3.953 kB / 0.5614 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3795, allocations: 0 / 0.5614 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3795, allocations: 4 kB / 0.5614 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3796, allocations: 31.97 kB / 0.5614 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.38, allocations: 271.8 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3802, allocations: 50.53 kB / 0.5617 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.3803, allocations: 16.86 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3803, allocations: 0 / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3803, allocations: 30.66 kB / 0.5617 GB, free: 3.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3803, allocations: 4 kB / 0.5617 GB, free: 3.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009711/0.3813, allocations: 261.1 kB / 0.562 GB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3813, allocations: 55.34 kB / 0.562 GB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3816, allocations: 251 kB / 0.5623 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3817, allocations: 29.7 kB / 0.5623 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.3818, allocations: 112.1 kB / 0.5624 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.3818, allocations: 31.73 kB / 0.5625 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3818, allocations: 21.72 kB / 0.5625 GB, free: 2.676 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.382, allocations: 326.8 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.3821, allocations: 27.97 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.3822, allocations: 27.98 kB / 0.5628 GB, free: 2.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3824, allocations: 81.03 kB / 0.5629 GB, free: 2.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3824, allocations: 0 / 0.5629 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002689/0.3827, allocations: 117.5 kB / 0.563 GB, free: 2.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3827, allocations: 8 kB / 0.563 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3827, allocations: 0 / 0.563 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3827, allocations: 0 / 0.563 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3828, allocations: 15.98 kB / 0.5631 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.3829, allocations: 7.938 kB / 0.5631 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.3829, allocations: 7.984 kB / 0.5631 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3829, allocations: 4 kB / 0.5631 GB, free: 2.047 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.0001364/0.3831, allocations: 133.8 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.3831, allocations: 11.91 kB / 0.5632 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.3835, allocations: 139 kB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3835, allocations: 0 / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.3835, allocations: 11.88 kB / 0.5634 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3835, allocations: 4 kB / 0.5634 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.3841, allocations: 390.3 kB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.3841, allocations: 11.94 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.3842, allocations: 15.98 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3842, allocations: 0 / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3842, allocations: 8 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3842, allocations: 0 / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3842, allocations: 7.969 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.3846, allocations: 212.2 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.3846, allocations: 15.88 kB / 0.564 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3846, allocations: 4 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.3847, allocations: 4 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3848, allocations: 11.98 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3848, allocations: 4 kB / 0.564 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.385, allocations: 187.2 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.385, allocations: 0 / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3853, allocations: 23.94 kB / 0.5642 GB, free: 0.7812 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.002601/0.3879, allocations: 1.105 MB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.3882, allocations: 83.88 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3882, allocations: 0 / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3883, allocations: 35.97 kB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.3887, allocations: 22.83 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.391, allocations: 1.816 MB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.3914, allocations: 0.7158 MB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.3915, allocations: 20.95 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.3916, allocations: 35.42 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3916, allocations: 8 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.415, allocations: 3.522 MB / 0.5714 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.63, allocations: 18.02 kB / 0.5714 GB, free: 9.527 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.78733911801828]