Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.00128/0.00128, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001405/0.001405, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2448/0.2448, allocations: 44.92 MB / 359.6 MB, free: 6.273 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.00194/0.00194, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 65.46 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003057/0.3562, allocations: 1.646 MB / 0.5594 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3573, allocations: 0.5543 MB / 0.56 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.3573, allocations: 0 / 0.56 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.3576, allocations: 111.7 kB / 0.5601 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.358, allocations: 119.5 kB / 0.5602 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.3583, allocations: 91.75 kB / 0.5603 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3584, allocations: 91.75 kB / 0.5604 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.3585, allocations: 11.98 kB / 0.5604 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.3586, allocations: 39.84 kB / 0.5604 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3587, allocations: 79.72 kB / 0.5605 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3588, allocations: 8 kB / 0.5605 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3589, allocations: 47.92 kB / 0.5605 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.3589, allocations: 27.91 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.359, allocations: 31.75 kB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.3592, allocations: 123.4 kB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3592, allocations: 0 / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3592, allocations: 0 / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3592, allocations: 3.938 kB / 0.5607 GB, free: 4.785 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.0004979/0.3597, allocations: 357.5 kB / 0.561 GB, free: 4.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3597, allocations: 16.03 kB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.118e-05/0.3598, allocations: 192 / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.3598, allocations: 34.75 kB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3598, allocations: 12.89 kB / 0.5611 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.36, allocations: 147.1 kB / 0.5612 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.36, allocations: 384 / 0.5613 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.36, allocations: 8.125 kB / 0.5613 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3602, allocations: 53.62 kB / 0.5613 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3602, allocations: 3.953 kB / 0.5613 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3602, allocations: 4 kB / 0.5613 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3602, allocations: 4 kB / 0.5613 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3603, allocations: 27.95 kB / 0.5613 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3607, allocations: 267.9 kB / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3608, allocations: 38.5 kB / 0.5616 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.3609, allocations: 24.94 kB / 0.5617 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3609, allocations: 4 kB / 0.5617 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3609, allocations: 34.56 kB / 0.5617 GB, free: 3.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3609, allocations: 0 / 0.5617 GB, free: 3.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009068/0.3618, allocations: 233.1 kB / 0.5619 GB, free: 3.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3619, allocations: 63.28 kB / 0.562 GB, free: 3.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.3622, allocations: 255 kB / 0.5622 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3622, allocations: 29.7 kB / 0.5623 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.3623, allocations: 108.1 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3623, allocations: 39.73 kB / 0.5624 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.3623, allocations: 21.72 kB / 0.5624 GB, free: 2.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3625, allocations: 322.8 kB / 0.5627 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.121e-05/0.3626, allocations: 23.98 kB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.3626, allocations: 31.97 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3628, allocations: 56.84 kB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3628, allocations: 0 / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.363, allocations: 101.6 kB / 0.5629 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3631, allocations: 8 kB / 0.5629 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3631, allocations: 7.938 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3631, allocations: 0 / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3632, allocations: 23.92 kB / 0.563 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3632, allocations: 3.938 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.3632, allocations: 11.98 kB / 0.563 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3632, allocations: 0 / 0.563 GB, free: 2.254 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.000105/0.3634, allocations: 129.8 kB / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3634, allocations: 15.91 kB / 0.5631 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.3637, allocations: 127.3 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3637, allocations: 3.938 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3637, allocations: 3.938 kB / 0.5632 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3637, allocations: 0 / 0.5632 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.3642, allocations: 378.4 kB / 0.5636 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3643, allocations: 3.969 kB / 0.5636 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.3643, allocations: 19.98 kB / 0.5636 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3643, allocations: 4 kB / 0.5636 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3643, allocations: 4 kB / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3643, allocations: 0 / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3643, allocations: 0 / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3646, allocations: 216.2 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.3647, allocations: 15.89 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3647, allocations: 0 / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.3648, allocations: 15.92 kB / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.3648, allocations: 0 / 0.5639 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3648, allocations: 7.984 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.365, allocations: 187.2 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.365, allocations: 0 / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3652, allocations: 23.94 kB / 0.5641 GB, free: 1.027 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.002237/0.3675, allocations: 1.098 MB / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.3677, allocations: 59.95 kB / 0.5652 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3677, allocations: 0 / 0.5652 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3678, allocations: 31.97 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3682, allocations: 29.31 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.3703, allocations: 1.769 MB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3707, allocations: 0.7145 MB / 0.5677 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.3707, allocations: 16.67 kB / 0.5677 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.3708, allocations: 43.41 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3708, allocations: 0 / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.3935, allocations: 3.48 MB / 0.5712 GB, free: 9.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.78, allocations: 6.469 kB / 0.5712 GB, free: 9.898 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 15.007570451009087]