Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001709/0.001709, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002065/0.002065, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2412/0.2412, allocations: 44.91 MB / 358.8 MB, free: 6.328 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",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.00303/0.00303, allocations: 67.89 kB / 0.4931 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3612, allocations: 65.47 MB / 0.557 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003087/0.3643, allocations: 1.675 MB / 0.5587 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3654, allocations: 0.5737 MB / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.3655, allocations: 0 / 0.5592 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.3657, allocations: 31.78 kB / 0.5593 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.366, allocations: 87.59 kB / 0.5594 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3664, allocations: 119.7 kB / 0.5595 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3666, allocations: 83.77 kB / 0.5595 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3667, allocations: 26.08 kB / 0.5596 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.3668, allocations: 35.86 kB / 0.5596 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3669, allocations: 43.77 kB / 0.5596 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3669, allocations: 4 kB / 0.5597 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.367, allocations: 47.98 kB / 0.5597 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.367, allocations: 23.92 kB / 0.5597 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.3671, allocations: 35.73 kB / 0.5598 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3673, allocations: 119.4 kB / 0.5599 GB, free: 4.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3673, allocations: 4 kB / 0.5599 GB, free: 4.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3673, allocations: 0 / 0.5599 GB, free: 4.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3673, allocations: 3.938 kB / 0.5599 GB, free: 4.938 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005572/0.3679, allocations: 329.8 kB / 0.5602 GB, free: 4.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3679, allocations: 8.031 kB / 0.5602 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.368, allocations: 46.73 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.368, allocations: 16.78 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3682, allocations: 138.4 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3682, allocations: 4.375 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3682, allocations: 8.375 kB / 0.5604 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3684, allocations: 85.05 kB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3684, allocations: 3.984 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3685, allocations: 4 kB / 0.5605 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3685, allocations: 4 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3686, allocations: 39.97 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.3691, allocations: 303.8 kB / 0.5608 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3692, allocations: 70.53 kB / 0.5609 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.3693, allocations: 24.84 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3693, allocations: 3.938 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3694, allocations: 38.56 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3694, allocations: 0 / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001078/0.3704, allocations: 333.6 kB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3705, allocations: 59.39 kB / 0.5613 GB, free: 3.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.3706, allocations: 155.3 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3707, allocations: 29.7 kB / 0.5615 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.3707, allocations: 104.1 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.3708, allocations: 47.64 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.3708, allocations: 25.7 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.371, allocations: 326.8 kB / 0.562 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3711, allocations: 43.97 kB / 0.562 GB, free: 2.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.3712, allocations: 43.97 kB / 0.5621 GB, free: 2.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.3714, allocations: 112.9 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3714, allocations: 0 / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003004/0.3717, allocations: 161.3 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3717, allocations: 4 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3717, allocations: 0 / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3718, allocations: 0 / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3719, allocations: 31.97 kB / 0.5624 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3719, allocations: 0 / 0.5624 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.3719, allocations: 8 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.372, allocations: 8 kB / 0.5624 GB, free: 2.184 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 (13): * Single equations (assignments): 13 * 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.0001161/0.3721, allocations: 129.7 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.3721, allocations: 15.89 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.3725, allocations: 178.4 kB / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3725, allocations: 0 / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3725, allocations: 0 / 0.5627 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3725, allocations: 3.938 kB / 0.5627 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/0.3732, allocations: 466.2 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3732, allocations: 3.938 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.886e-05/0.3733, allocations: 31.91 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3733, allocations: 4 kB / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3733, allocations: 4 kB / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3733, allocations: 4 kB / 0.5632 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3733, allocations: 4.031 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.3736, allocations: 248.2 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.3737, allocations: 15.89 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3737, allocations: 3.984 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.3738, allocations: 4 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3738, allocations: 15.98 kB / 0.5635 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3738, allocations: 7.938 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3739, allocations: 125.5 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3739, allocations: 0 / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3742, allocations: 35.86 kB / 0.5636 GB, free: 0.8203 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 (13): * Single equations (assignments): 13 * 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.002297/0.3765, allocations: 1.128 MB / 0.5647 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.3768, allocations: 111.9 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3768, allocations: 0 / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3769, allocations: 59.84 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.3773, allocations: 26.05 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3795, allocations: 1.75 MB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.38, allocations: 0.7118 MB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.654e-05/0.38, allocations: 32.45 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.3801, allocations: 39.42 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3801, allocations: 0 / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.4112, allocations: 3.471 MB / 0.5708 GB, free: 9.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 7.938 kB / 0.5708 GB, free: 9.586 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.669398102909327]