Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001649/0.001649, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.003212/0.003212, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.595/1.595, 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.2315/0.2315, allocations: 44.93 MB / 359.6 MB, free: 6.062 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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.002061/0.002061, allocations: 67.83 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 65.47 MB / 0.5577 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.004189/0.3498, allocations: 1.602 MB / 0.5593 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3509, allocations: 0.5144 MB / 0.5598 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.351, allocations: 4 kB / 0.5598 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.3516, allocations: 451.1 kB / 0.5602 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.3522, allocations: 295.3 kB / 0.5605 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.3526, allocations: 127.5 kB / 0.5606 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3529, allocations: 163.6 kB / 0.5608 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.3529, allocations: 8.188 kB / 0.5608 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.3531, allocations: 115.7 kB / 0.5609 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3534, allocations: 247.5 kB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3534, allocations: 0 / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.3535, allocations: 20 kB / 0.5612 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3537, allocations: 88.61 kB / 0.5613 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.858e-05/0.3537, allocations: 63.25 kB / 0.5613 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.3541, allocations: 272.7 kB / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3541, allocations: 0 / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3541, allocations: 0 / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3541, allocations: 4 kB / 0.5616 GB, free: 3.75 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.0008956/0.355, allocations: 0.5699 MB / 0.5621 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3551, allocations: 12.03 kB / 0.5621 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.11e-05/0.3551, allocations: 4.172 kB / 0.5621 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.3551, allocations: 34.75 kB / 0.5622 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.3552, allocations: 52.61 kB / 0.5622 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3556, allocations: 242.8 kB / 0.5625 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3556, allocations: 4.375 kB / 0.5625 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3556, allocations: 3.938 kB / 0.5625 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3558, allocations: 49.62 kB / 0.5625 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3558, allocations: 4 kB / 0.5625 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3558, allocations: 4 kB / 0.5625 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3558, allocations: 0 / 0.5625 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.3559, allocations: 19.98 kB / 0.5625 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.3564, allocations: 339.9 kB / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3566, allocations: 38.5 kB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.3566, allocations: 12.92 kB / 0.5629 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3566, allocations: 4 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3567, allocations: 38.5 kB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3567, allocations: 0 / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002747/0.3569, allocations: 97.39 kB / 0.5631 GB, free: 2.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3571, allocations: 55.41 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/0.358, allocations: 0.866 MB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.3581, allocations: 29.7 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3583, allocations: 236 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3583, allocations: 7.891 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3583, allocations: 13.72 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3585, allocations: 370.8 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.3586, allocations: 8 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.3586, allocations: 7.984 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.05e-05/0.3587, allocations: 24.84 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3587, allocations: 0 / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001551/0.3588, allocations: 89.41 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3589, allocations: 4 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3589, allocations: 4.094 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3589, allocations: 0 / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.3589, allocations: 11.94 kB / 0.5647 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3589, allocations: 3.984 kB / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.359, allocations: 7.875 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.359, allocations: 4 kB / 0.5647 GB, free: 320 kB / 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 (2): * Single equations (assignments): 2 * 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.000191/0.3592, allocations: 205.8 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.3593, allocations: 47.7 kB / 0.565 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3595, allocations: 104.9 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3595, allocations: 4.031 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3595, allocations: 0 / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3595, allocations: 3.938 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.3598, allocations: 252.7 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3598, allocations: 0 / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.3598, allocations: 7.984 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3598, allocations: 0 / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3598, allocations: 4 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.3598, allocations: 11.92 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3598, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3601, allocations: 187.2 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.3601, allocations: 51.59 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3601, allocations: 0 / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.3602, allocations: 0 / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.3602, allocations: 4 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3602, allocations: 3.938 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006806/0.3609, allocations: 0.6589 MB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3612, allocations: 16 kB / 0.5662 GB, free: 14.69 MB / 414.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 (2): * Single equations (assignments): 2 * 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.00185/0.363, allocations: 0.9932 MB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.3632, allocations: 23.98 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3632, allocations: 4.062 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.3632, allocations: 8 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3637, allocations: 26.23 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.368, allocations: 3.163 MB / 0.5704 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3683, allocations: 211.5 kB / 0.5706 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.3683, allocations: 15.73 kB / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3685, allocations: 107.4 kB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3685, allocations: 0 / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.397, allocations: 6.003 MB / 0.5765 GB, free: 4.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.36, allocations: 6.469 kB / 0.5766 GB, free: 4.223 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 15.699441123986617]