Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001294/0.001294, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001487/0.001487, allocations: 216.8 kB / 24.52 MB, free: 3.91 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.489/1.489, allocations: 230.6 MB / 258.3 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.2358/0.2358, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.002082/0.002082, allocations: 59.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3685, allocations: 65.47 MB / 0.5577 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003979/0.3725, allocations: 1.596 MB / 0.5593 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3737, allocations: 0.5309 MB / 0.5598 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.3738, allocations: 0 / 0.5598 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.374, allocations: 23.84 kB / 0.5598 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.3744, allocations: 83.62 kB / 0.5599 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.3747, allocations: 103.6 kB / 0.56 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3748, allocations: 71.77 kB / 0.5601 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.375, allocations: 10.11 kB / 0.5601 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.375, allocations: 31.84 kB / 0.5601 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.3751, allocations: 23.86 kB / 0.5602 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3751, allocations: 4 kB / 0.5602 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.3752, allocations: 32 kB / 0.5602 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.3752, allocations: 19.91 kB / 0.5602 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3753, allocations: 11.88 kB / 0.5602 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3754, allocations: 87.59 kB / 0.5603 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3754, allocations: 0 / 0.5603 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3754, allocations: 0 / 0.5603 GB, free: 5.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3755, allocations: 0 / 0.5603 GB, free: 5.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004725/0.3759, allocations: 325.8 kB / 0.5606 GB, free: 4.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.376, allocations: 8.031 kB / 0.5606 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.339e-05/0.376, allocations: 4.188 kB / 0.5606 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.376, allocations: 30.75 kB / 0.5607 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.376, allocations: 8.891 kB / 0.5607 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3763, allocations: 134.4 kB / 0.5608 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3763, allocations: 4.375 kB / 0.5608 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.3763, allocations: 8.125 kB / 0.5608 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3764, allocations: 49.67 kB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3764, allocations: 0 / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.3764, allocations: 4 kB / 0.5609 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3764, allocations: 0 / 0.5609 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.3765, allocations: 31.91 kB / 0.5609 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3769, allocations: 248 kB / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.3771, allocations: 42.56 kB / 0.5612 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.3772, allocations: 16.94 kB / 0.5612 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3772, allocations: 3.938 kB / 0.5612 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3772, allocations: 34.56 kB / 0.5612 GB, free: 4.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3772, allocations: 0 / 0.5612 GB, free: 4.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005779/0.3778, allocations: 161.3 kB / 0.5614 GB, free: 3.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3778, allocations: 51.41 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.378, allocations: 169.8 kB / 0.5616 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.378, allocations: 25.7 kB / 0.5616 GB, free: 3.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.3781, allocations: 96.12 kB / 0.5617 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3781, allocations: 23.8 kB / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.3782, allocations: 21.64 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3783, allocations: 318.8 kB / 0.562 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.3784, allocations: 23.97 kB / 0.5621 GB, free: 3.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.3785, allocations: 23.98 kB / 0.5621 GB, free: 3.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3786, allocations: 53.02 kB / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3786, allocations: 0 / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.3788, allocations: 93.55 kB / 0.5622 GB, free: 2.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3788, allocations: 4 kB / 0.5622 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3788, allocations: 4 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3788, allocations: 0 / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.3789, allocations: 15.98 kB / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3789, allocations: 3.938 kB / 0.5623 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.3789, allocations: 4 kB / 0.5623 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.379, allocations: 0 / 0.5623 GB, free: 2.875 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 (5): * Single equations (assignments): 5 * 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.0001024/0.3791, allocations: 121.8 kB / 0.5624 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.3791, allocations: 11.89 kB / 0.5624 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3794, allocations: 102 kB / 0.5625 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3794, allocations: 4 kB / 0.5625 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3794, allocations: 3.938 kB / 0.5625 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3794, allocations: 0 / 0.5625 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/0.3798, allocations: 321.6 kB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3798, allocations: 0 / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.3799, allocations: 11.98 kB / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3799, allocations: 3.938 kB / 0.5628 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3799, allocations: 7.938 kB / 0.5628 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3799, allocations: 8 kB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3799, allocations: 0 / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.3802, allocations: 183.7 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.3802, allocations: 7.891 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3802, allocations: 7.984 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.3803, allocations: 4 kB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3803, allocations: 4 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3803, allocations: 3.984 kB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3804, allocations: 124.8 kB / 0.5631 GB, free: 1.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 4 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.3807, allocations: 15.95 kB / 0.5632 GB, free: 1.852 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.002108/0.3828, allocations: 1.053 MB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.383, allocations: 47.97 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.383, allocations: 4 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.3831, allocations: 35.91 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3835, allocations: 11.94 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3853, allocations: 1.496 MB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.3854, allocations: 87.31 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.3855, allocations: 15.77 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.3856, allocations: 23.44 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3856, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.4077, allocations: 2.871 MB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 6.172 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.966838791035116]