Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001803/0.001803, 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.002389/0.002389, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.004 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.2258/0.2258, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.003013/0.003013, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.35, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.004728/0.3547, allocations: 1.648 MB / 0.5594 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.356, allocations: 0.5621 MB / 0.56 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.356, allocations: 3.938 kB / 0.56 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.3564, allocations: 107.7 kB / 0.5601 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.3567, allocations: 127.5 kB / 0.5602 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.357, allocations: 111.7 kB / 0.5603 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3573, allocations: 87.75 kB / 0.5604 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3574, allocations: 11.98 kB / 0.5604 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.3575, allocations: 43.83 kB / 0.5604 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3577, allocations: 79.78 kB / 0.5605 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3577, allocations: 4 kB / 0.5605 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3578, allocations: 43.98 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.3579, allocations: 31.86 kB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.358, allocations: 27.75 kB / 0.5606 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.3583, allocations: 117.6 kB / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3583, allocations: 0 / 0.5607 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3583, allocations: 3.938 kB / 0.5607 GB, free: 4.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3583, allocations: 3.938 kB / 0.5607 GB, free: 4.762 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.0006821/0.359, allocations: 361.5 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.359, allocations: 12.03 kB / 0.5611 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.359, allocations: 4.188 kB / 0.5611 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.3591, allocations: 34.75 kB / 0.5611 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3591, allocations: 12.89 kB / 0.5611 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.3593, allocations: 147.1 kB / 0.5613 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3593, allocations: 4.375 kB / 0.5613 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.3593, allocations: 8.125 kB / 0.5613 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3595, allocations: 65.59 kB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3595, allocations: 3.953 kB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3595, allocations: 4 kB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3595, allocations: 0 / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3596, allocations: 27.98 kB / 0.5614 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.3601, allocations: 271.9 kB / 0.5616 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3602, allocations: 46.5 kB / 0.5617 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.3603, allocations: 16.94 kB / 0.5617 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3603, allocations: 4 kB / 0.5617 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3603, allocations: 34.56 kB / 0.5617 GB, free: 3.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3603, allocations: 0 / 0.5617 GB, free: 3.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009343/0.3613, allocations: 245.1 kB / 0.562 GB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3613, allocations: 63.28 kB / 0.562 GB, free: 3.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.3616, allocations: 259 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3616, allocations: 25.7 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3617, allocations: 112.1 kB / 0.5624 GB, free: 2.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3617, allocations: 27.8 kB / 0.5624 GB, free: 2.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.3618, allocations: 21.72 kB / 0.5625 GB, free: 2.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3619, allocations: 330.8 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.399e-05/0.362, allocations: 35.97 kB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.3621, allocations: 27.92 kB / 0.5628 GB, free: 2.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3623, allocations: 81.03 kB / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3623, allocations: 0 / 0.5629 GB, free: 2.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002383/0.3625, allocations: 113.6 kB / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3625, allocations: 4 kB / 0.563 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3625, allocations: 0 / 0.563 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3625, allocations: 4 kB / 0.563 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3627, allocations: 20.41 kB / 0.5631 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3627, allocations: 7.875 kB / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3627, allocations: 7.984 kB / 0.5631 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3627, allocations: 0 / 0.5631 GB, free: 2.168 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.0001254/0.3628, allocations: 133.8 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3629, allocations: 15.91 kB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3632, allocations: 135 kB / 0.5633 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3632, allocations: 3.984 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3632, allocations: 7.922 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3632, allocations: 0 / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.3638, allocations: 406.3 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3638, allocations: 3.938 kB / 0.5637 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.3639, allocations: 27.95 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3639, allocations: 0 / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3639, allocations: 0 / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3639, allocations: 0 / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3639, allocations: 4 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3642, allocations: 208.3 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.3642, allocations: 15.89 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.3642, allocations: 7.922 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.3643, allocations: 11.94 kB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3644, allocations: 7.984 kB / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3644, allocations: 0 / 0.564 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3645, allocations: 187.2 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3645, allocations: 4 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3648, allocations: 16 kB / 0.5642 GB, free: 0.9023 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.002342/0.3671, allocations: 1.119 MB / 0.5653 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3674, allocations: 63.95 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3674, allocations: 0 / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3675, allocations: 43.81 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3679, allocations: 20.12 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.3702, allocations: 1.812 MB / 0.5672 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.3707, allocations: 0.7197 MB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.3707, allocations: 24.95 kB / 0.5679 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.3708, allocations: 39.42 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3708, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.3932, allocations: 3.535 MB / 0.5714 GB, free: 9.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.61, allocations: 3.188 kB / 0.5714 GB, free: 9.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.805605784000363]