Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001138/0.001138, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001256/0.001256, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.377/1.377, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2127/0.2127, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3408, allocations: 60.83 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002514/0.3434, allocations: 1.584 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006403/0.344, allocations: 419.2 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.3441, allocations: 0.9375 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3444, allocations: 106.3 kB / 0.5205 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3446, allocations: 85.66 kB / 0.5206 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.3449, allocations: 104.4 kB / 0.5207 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.345, allocations: 80.02 kB / 0.5208 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.3451, allocations: 19.14 kB / 0.5208 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.3452, allocations: 46.36 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3453, allocations: 61.38 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3453, allocations: 6.828 kB / 0.5209 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.3454, allocations: 43.19 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.3455, allocations: 22.22 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.3455, allocations: 31.77 kB / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3457, allocations: 115.7 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3457, allocations: 1.906 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3457, allocations: 0 / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3457, allocations: 0 / 0.5211 GB, free: 1.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003618/0.3461, allocations: 423.5 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3461, allocations: 9.969 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.378e-05/0.3462, allocations: 32.89 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.3462, allocations: 11 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3463, allocations: 206.7 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.3464, allocations: 2.609 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3464, allocations: 14.66 kB / 0.5218 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.3465, allocations: 49.05 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3465, allocations: 0.6562 kB / 0.5218 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3465, allocations: 9.5 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3466, allocations: 0 / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.3467, allocations: 27.05 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.347, allocations: 311.2 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.3471, allocations: 49.94 kB / 0.5222 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.3472, allocations: 27.48 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3472, allocations: 0.7031 kB / 0.5222 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3472, allocations: 32.48 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3472, allocations: 0 / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008282/0.348, allocations: 240.8 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3481, allocations: 57.14 kB / 0.5225 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3483, allocations: 242.1 kB / 0.5228 GB, free: 248 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3483, allocations: 26.8 kB / 0.5228 GB, free: 216 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.3483, allocations: 117.3 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3484, allocations: 25.41 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3484, allocations: 21.95 kB / 0.5229 GB, free: 64 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3485, allocations: 327.3 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.3486, allocations: 29.89 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.023e-05/0.3487, allocations: 31.44 kB / 0.5233 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3489, allocations: 71.36 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3489, allocations: 1.406 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.3491, allocations: 117.4 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3491, allocations: 9.547 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3491, allocations: 0 / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3492, allocations: 1.625 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3493, allocations: 20.45 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3493, allocations: 5.344 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3493, allocations: 8.922 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3493, allocations: 1.625 kB / 0.5235 GB, free: 15.62 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 (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.0001031/0.3494, allocations: 133.1 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.3495, allocations: 18.34 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.3498, allocations: 132.7 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3498, allocations: 1.844 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3498, allocations: 3.938 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3498, allocations: 5.703 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.3504, allocations: 423.9 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3504, allocations: 9.406 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.3504, allocations: 16.25 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3505, allocations: 1.219 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3505, allocations: 1.719 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3505, allocations: 0.9844 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3505, allocations: 1.562 kB / 0.5243 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3507, allocations: 213.6 kB / 0.5245 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3508, allocations: 92.58 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3508, allocations: 2.281 kB / 0.5246 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.3509, allocations: 9.031 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.351, allocations: 6.812 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.351, allocations: 6.312 kB / 0.5246 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3511, allocations: 187 kB / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3511, allocations: 0 / 0.5248 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3514, allocations: 20.56 kB / 0.5248 GB, free: 14.65 MB / 398.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.001393/0.3528, allocations: 1.118 MB / 0.5259 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.353, allocations: 71.3 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.353, allocations: 1.625 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.3531, allocations: 41.7 kB / 0.526 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3535, allocations: 22.86 kB / 0.526 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3555, allocations: 1.764 MB / 0.5277 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.3557, allocations: 0.7143 MB / 0.5284 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.407e-05/0.3558, allocations: 20.38 kB / 0.5284 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.3559, allocations: 33.83 kB / 0.5285 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3559, allocations: 0 / 0.5285 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.3756, allocations: 3.26 MB / 0.5316 GB, free: 10.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.822, allocations: 12.09 kB / 0.5317 GB, free: 10.16 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches