Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001348/0.001348, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00176/0.00176, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2593/0.2593, allocations: 44.91 MB / 358.8 MB, free: 6.289 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.003192/0.003192, allocations: 67.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3389, allocations: 65.47 MB / 0.557 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003614/0.3425, allocations: 2.065 MB / 0.5591 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3444, allocations: 1.037 MB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.3445, allocations: 0 / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.345, allocations: 259.2 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.3455, allocations: 267 kB / 0.5606 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3466, allocations: 489.8 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.347, allocations: 338.9 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3472, allocations: 56.2 kB / 0.5614 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3474, allocations: 147.4 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.3477, allocations: 231.2 kB / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.3477, allocations: 12 kB / 0.5618 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3478, allocations: 71.97 kB / 0.5619 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.348, allocations: 99.53 kB / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3481, allocations: 127 kB / 0.5621 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3486, allocations: 344.2 kB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3486, allocations: 0 / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3486, allocations: 0 / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3486, allocations: 0 / 0.5624 GB, free: 2.285 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008239/0.3494, allocations: 0.6205 MB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3494, allocations: 8.031 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.3495, allocations: 46.73 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.3496, allocations: 48.61 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.3499, allocations: 272.6 kB / 0.5634 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.35, allocations: 8.375 kB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.35, allocations: 8.375 kB / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3502, allocations: 109.5 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3502, allocations: 0 / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3502, allocations: 15.94 kB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3502, allocations: 0 / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3504, allocations: 71.89 kB / 0.5636 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.3511, allocations: 479.4 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3513, allocations: 90.48 kB / 0.5641 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.3514, allocations: 32.84 kB / 0.5641 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3514, allocations: 7.984 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3514, allocations: 34.5 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3514, allocations: 0 / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009609/0.3524, allocations: 400.8 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3524, allocations: 59.34 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.3531, allocations: 0.5916 MB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3531, allocations: 25.7 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3533, allocations: 216.4 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.3534, allocations: 59.48 kB / 0.5655 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.3534, allocations: 33.7 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3536, allocations: 354.8 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3537, allocations: 47.97 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3538, allocations: 59.91 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3541, allocations: 122.9 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3541, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003581/0.3544, allocations: 197.3 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3545, allocations: 7.938 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3545, allocations: 3.984 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3545, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3546, allocations: 35.98 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3546, allocations: 4 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.3547, allocations: 7.984 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.3547, allocations: 11.98 kB / 0.5663 GB, free: 14.05 MB / 414.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 (17): * Single equations (assignments): 17 * 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.0001744/0.3549, allocations: 173.7 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.355, allocations: 47.7 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.3555, allocations: 252 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3555, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3555, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3555, allocations: 0 / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.3564, allocations: 0.6144 MB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3564, allocations: 0 / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3565, allocations: 35.92 kB / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3565, allocations: 0 / 0.5674 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3565, allocations: 11.98 kB / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.3565, allocations: 7.938 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3565, allocations: 0 / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.3569, allocations: 295.1 kB / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.357, allocations: 43.7 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.357, allocations: 4 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3571, allocations: 19.92 kB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.3571, allocations: 7.984 kB / 0.5678 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3572, allocations: 15.98 kB / 0.5678 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004903/0.3577, allocations: 439.1 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3577, allocations: 0 / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.358, allocations: 51.92 kB / 0.5683 GB, free: 11.97 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 (17): * Single equations (assignments): 17 * 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.003405/0.3614, allocations: 1.427 MB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.3617, allocations: 130.3 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3617, allocations: 0 / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.3618, allocations: 67.91 kB / 0.5699 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.3624, allocations: 82.2 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.3665, allocations: 3.17 MB / 0.573 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.367, allocations: 0.8181 MB / 0.5738 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.3672, allocations: 50.25 kB / 0.5739 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.3673, allocations: 139.3 kB / 0.574 GB, free: 6.301 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3673, allocations: 0 / 0.574 GB, free: 6.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.4008, allocations: 7.872 MB / 0.5817 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.15, allocations: 10.66 kB / 0.5817 GB, free: 14.46 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.23787243803963]