Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001547/0.001547, allocations: 115.6 kB / 20.44 MB, free: 1.465 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.001633/0.001633, allocations: 212.6 kB / 23.74 MB, free: 4.691 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2234/0.2234, allocations: 44.91 MB / 358.8 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.002035/0.002035, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3542, allocations: 65.48 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003399/0.3576, allocations: 1.607 MB / 0.5586 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3588, allocations: 0.5504 MB / 0.5591 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.3589, allocations: 0 / 0.5591 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3591, allocations: 31.78 kB / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.3594, allocations: 75.69 kB / 0.5592 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3597, allocations: 83.7 kB / 0.5593 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3599, allocations: 75.77 kB / 0.5594 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.36, allocations: 9.828 kB / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.3601, allocations: 19.92 kB / 0.5594 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.416e-05/0.3601, allocations: 27.84 kB / 0.5595 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3602, allocations: 4 kB / 0.5595 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.3602, allocations: 39.88 kB / 0.5595 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.3603, allocations: 15.92 kB / 0.5595 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.3604, allocations: 23.8 kB / 0.5595 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3606, allocations: 79.66 kB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3606, allocations: 0 / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3606, allocations: 8 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.3606, allocations: 3.938 kB / 0.5596 GB, free: 5.117 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.0005905/0.3612, allocations: 313.8 kB / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3612, allocations: 12.03 kB / 0.5599 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.3613, allocations: 30.75 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.3613, allocations: 8.891 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3615, allocations: 134.4 kB / 0.5601 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3615, allocations: 8.375 kB / 0.5601 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3616, allocations: 8.359 kB / 0.5601 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3617, allocations: 53.62 kB / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3617, allocations: 0 / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3617, allocations: 0 / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3617, allocations: 0 / 0.5602 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.3618, allocations: 19.98 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.3623, allocations: 251.9 kB / 0.5604 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3625, allocations: 42.56 kB / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.3626, allocations: 20.94 kB / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3626, allocations: 0 / 0.5605 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3626, allocations: 30.56 kB / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3626, allocations: 0 / 0.5605 GB, free: 4.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006253/0.3633, allocations: 149.3 kB / 0.5607 GB, free: 3.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3633, allocations: 55.41 kB / 0.5607 GB, free: 3.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.3635, allocations: 169.9 kB / 0.5609 GB, free: 3.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3636, allocations: 25.7 kB / 0.5609 GB, free: 3.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.3636, allocations: 92.14 kB / 0.561 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3637, allocations: 27.78 kB / 0.561 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.3637, allocations: 21.66 kB / 0.561 GB, free: 3.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3639, allocations: 318.8 kB / 0.5613 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.364, allocations: 23.92 kB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.842e-05/0.364, allocations: 19.98 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3641, allocations: 40.84 kB / 0.5614 GB, free: 3.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3641, allocations: 0 / 0.5614 GB, free: 3.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.3643, allocations: 81.61 kB / 0.5615 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3644, allocations: 12 kB / 0.5615 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3644, allocations: 288 / 0.5615 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3644, allocations: 0 / 0.5615 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.3644, allocations: 11.98 kB / 0.5615 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3645, allocations: 11.81 kB / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.3645, allocations: 4.25 kB / 0.5615 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.3645, allocations: 4 kB / 0.5615 GB, free: 2.965 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.0001159/0.3646, allocations: 117.8 kB / 0.5617 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.3647, allocations: 11.94 kB / 0.5617 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.3649, allocations: 98.06 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3649, allocations: 0 / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3649, allocations: 3.938 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3649, allocations: 0 / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.3654, allocations: 325.6 kB / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3654, allocations: 0 / 0.5621 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3655, allocations: 12 kB / 0.5621 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3655, allocations: 3.938 kB / 0.5621 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3655, allocations: 4 kB / 0.5621 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3655, allocations: 3.984 kB / 0.5621 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3655, allocations: 0 / 0.5621 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.3658, allocations: 175.4 kB / 0.5623 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.3658, allocations: 7.953 kB / 0.5623 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3658, allocations: 7.938 kB / 0.5623 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.3659, allocations: 11.98 kB / 0.5623 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3659, allocations: 0 / 0.5623 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3659, allocations: 0 / 0.5623 GB, free: 2.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.366, allocations: 123.2 kB / 0.5624 GB, free: 1.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.366, allocations: 4 kB / 0.5624 GB, free: 1.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.3663, allocations: 19.94 kB / 0.5624 GB, free: 1.961 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.002011/0.3683, allocations: 1.026 MB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3685, allocations: 39.97 kB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3685, allocations: 0 / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.727e-05/0.3685, allocations: 31.97 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3689, allocations: 12 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3707, allocations: 1.469 MB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3711, allocations: 0.6924 MB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.861e-05/0.3711, allocations: 24.03 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.3712, allocations: 27.42 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3712, allocations: 0 / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.4021, allocations: 2.756 MB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 3.984 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.646725432947278]