Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001336/0.001336, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001409/0.001409, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.424/1.424, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 46.92 MB / 360.9 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 68.14 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3327, allocations: 66.03 MB / 0.5607 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003091/0.3358, allocations: 1.639 MB / 0.5623 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3369, allocations: 0.566 MB / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.3369, allocations: 0 / 0.5628 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3372, allocations: 79.7 kB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.3375, allocations: 99.59 kB / 0.563 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3378, allocations: 115.5 kB / 0.5631 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.338, allocations: 87.73 kB / 0.5632 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.3381, allocations: 13.83 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.3381, allocations: 43.89 kB / 0.5632 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3383, allocations: 63.75 kB / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.3383, allocations: 0 / 0.5633 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.496e-05/0.3384, allocations: 47.98 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.3385, allocations: 23.86 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.3385, allocations: 31.73 kB / 0.5634 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3387, allocations: 107.5 kB / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3387, allocations: 0 / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3387, allocations: 0 / 0.5635 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3387, allocations: 0 / 0.5635 GB, free: 1.574 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.0004999/0.3392, allocations: 351.8 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3392, allocations: 15.97 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.3393, allocations: 30.75 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.3393, allocations: 12.84 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.3395, allocations: 147 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3395, allocations: 4.375 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3395, allocations: 384 / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3397, allocations: 65.59 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3397, allocations: 4 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3397, allocations: 0 / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3397, allocations: 0 / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.779e-05/0.3398, allocations: 27.92 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3402, allocations: 275.9 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.3403, allocations: 42.56 kB / 0.5644 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.3404, allocations: 28.88 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3404, allocations: 3.984 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3404, allocations: 34.56 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3404, allocations: 0 / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008698/0.3413, allocations: 241.2 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3413, allocations: 51.41 kB / 0.5648 GB, free: 116 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.3416, allocations: 214.2 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3416, allocations: 29.7 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.3417, allocations: 104.1 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.3417, allocations: 39.73 kB / 0.5652 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.3418, allocations: 17.72 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3419, allocations: 326.8 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.342, allocations: 31.97 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.3421, allocations: 27.98 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.3422, allocations: 80.75 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3422, allocations: 0 / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002228/0.3425, allocations: 109.6 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3425, allocations: 4 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3425, allocations: 7.938 kB / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3425, allocations: 0 / 0.5657 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3426, allocations: 19.98 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3426, allocations: 3.938 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3426, allocations: 11.98 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3426, allocations: 0 / 0.5658 GB, free: 15.06 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 (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.0001168/0.3428, allocations: 133.8 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.3428, allocations: 15.91 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.3431, allocations: 131.3 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3431, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3431, allocations: 7.938 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3431, allocations: 3.984 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.3437, allocations: 386.4 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3437, allocations: 0 / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.3438, allocations: 27.86 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3438, allocations: 4 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3438, allocations: 0 / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3438, allocations: 0 / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3438, allocations: 3.984 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.3441, allocations: 212.3 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.3441, allocations: 15.84 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3441, allocations: 4 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.3442, allocations: 7.984 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3442, allocations: 4 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3442, allocations: 7.984 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3444, allocations: 168.2 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3444, allocations: 0 / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3446, allocations: 23.94 kB / 0.5669 GB, free: 13.83 MB / 414.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.002205/0.3468, allocations: 1.102 MB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3471, allocations: 67.89 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3471, allocations: 0 / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3472, allocations: 47.97 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.3475, allocations: 17.42 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.3496, allocations: 1.72 MB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.35, allocations: 0.7158 MB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.937e-05/0.3501, allocations: 20.64 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.3501, allocations: 31.42 kB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3501, allocations: 0 / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.378, allocations: 3.341 MB / 0.5738 GB, free: 6.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 11.94 kB / 0.5738 GB, free: 6.871 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.356495945947245]