Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001601, allocations: 118.4 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3404, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003388/0.3439, allocations: 1.558 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.3453, allocations: 1.019 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.3454, allocations: 1.188 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.3456, allocations: 20.28 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3459, allocations: 45.72 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3462, allocations: 80.09 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.3463, allocations: 64.33 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3464, allocations: 14.81 kB / 0.5212 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.3465, allocations: 28.2 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3466, allocations: 25.08 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3467, allocations: 2.312 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3468, allocations: 47.11 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.3469, allocations: 12.16 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.3469, allocations: 16.84 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3471, allocations: 93.95 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3471, allocations: 1.312 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3471, allocations: 0 / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3471, allocations: 4 kB / 0.5214 GB, free: 1.285 MB / 382.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.0004025/0.3476, allocations: 374.9 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3476, allocations: 12.53 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.3476, allocations: 36.47 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.3477, allocations: 9.703 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3478, allocations: 189.3 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3479, allocations: 1.438 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3479, allocations: 2.109 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.348, allocations: 80.92 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3481, allocations: 5.047 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3481, allocations: 0.6562 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3481, allocations: 1.156 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.3482, allocations: 21.89 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.3485, allocations: 273 kB / 0.5224 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3487, allocations: 47.64 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.3488, allocations: 17.86 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3488, allocations: 1.844 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.3488, allocations: 32.27 kB / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3488, allocations: 0 / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005464/0.3494, allocations: 134.1 kB / 0.5226 GB, free: 132 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3494, allocations: 79.08 kB / 0.5227 GB, free: 36 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3496, allocations: 139.4 kB / 0.5228 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3496, allocations: 26.92 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.3497, allocations: 95.56 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3497, allocations: 12.53 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3497, allocations: 18.77 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3498, allocations: 327.1 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.3499, allocations: 18.55 kB / 0.5233 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.35, allocations: 31.73 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3502, allocations: 46.38 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3502, allocations: 0 / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001958/0.3504, allocations: 85.03 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3504, allocations: 4.906 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3504, allocations: 0.5625 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3504, allocations: 1.125 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.3505, allocations: 12.38 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3505, allocations: 5.094 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3506, allocations: 4.719 kB / 0.5235 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3506, allocations: 5.891 kB / 0.5235 GB, free: 15.34 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 9.179e-05/0.3507, allocations: 117.9 kB / 0.5236 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.3507, allocations: 7.938 kB / 0.5236 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.351, allocations: 93.95 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.351, allocations: 0 / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.351, allocations: 0 / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.351, allocations: 0.7031 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.3515, allocations: 346.5 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3515, allocations: 5.5 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.3516, allocations: 11.14 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3516, allocations: 1.438 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3516, allocations: 2.188 kB / 0.524 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3516, allocations: 7.875 kB / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3516, allocations: 0 / 0.524 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.3519, allocations: 176.9 kB / 0.5242 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.3519, allocations: 87.22 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3519, allocations: 5.828 kB / 0.5243 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.352, allocations: 8.703 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3521, allocations: 3.703 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3521, allocations: 6.359 kB / 0.5243 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.393e-05/0.3522, allocations: 103.3 kB / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3522, allocations: 0 / 0.5244 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3525, allocations: 24.55 kB / 0.5244 GB, free: 14.46 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.001448/0.3539, allocations: 1.049 MB / 0.5255 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3542, allocations: 48.41 kB / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3542, allocations: 0 / 0.5255 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.3543, allocations: 27.84 kB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3547, allocations: 22.14 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3564, allocations: 1.382 MB / 0.5269 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3566, allocations: 0.6946 MB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.3567, allocations: 8.344 kB / 0.5276 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.3568, allocations: 25.11 kB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3568, allocations: 0 / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.3806, allocations: 2.749 MB / 0.5303 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.124, allocations: 5.422 kB / 0.5303 GB, free: 10.55 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches