Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34",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.001792/0.001798, allocations: 116.8 kB / 17.78 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.002016/0.002016, 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2169/0.2169, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3492, allocations: 60.81 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002888/0.3522, allocations: 1.596 MB / 0.52 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000715/0.3529, allocations: 409.9 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.353, allocations: 1.219 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3533, allocations: 76.64 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3535, allocations: 63.55 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3538, allocations: 112 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.354, allocations: 74.03 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3541, allocations: 15.38 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.3542, allocations: 36.92 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.3543, allocations: 54.72 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3543, allocations: 2.812 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.043e-05/0.3544, allocations: 50.88 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.3544, allocations: 19.78 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.3545, allocations: 26.67 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.3547, allocations: 103.6 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3547, allocations: 5.375 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3547, allocations: 0 / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3547, allocations: 0 / 0.521 GB, free: 1.656 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.0004136/0.3551, allocations: 415.2 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3552, allocations: 9.281 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.398e-05/0.3552, allocations: 33.47 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.3552, allocations: 10.39 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.3554, allocations: 196.9 kB / 0.5216 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3555, allocations: 1.594 kB / 0.5217 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.3555, allocations: 11.11 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3556, allocations: 53.69 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3557, allocations: 1.062 kB / 0.5217 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.3557, allocations: 4 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3557, allocations: 1 kB / 0.5217 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.3558, allocations: 30.3 kB / 0.5217 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.3561, allocations: 296.5 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.3563, allocations: 49.88 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.3563, allocations: 19.5 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3563, allocations: 1.031 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.3564, allocations: 36.62 kB / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3564, allocations: 0 / 0.5221 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008858/0.3573, allocations: 241.8 kB / 0.5224 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.3573, allocations: 57.23 kB / 0.5224 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3575, allocations: 206.3 kB / 0.5226 GB, free: 256 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3575, allocations: 26.22 kB / 0.5226 GB, free: 224 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.3576, allocations: 109.1 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3576, allocations: 25.58 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.3576, allocations: 24.69 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3578, allocations: 326.4 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.3579, allocations: 30.8 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.358, allocations: 30.12 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.3582, allocations: 80.44 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3582, allocations: 0 / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002285/0.3584, allocations: 109.2 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3584, allocations: 8.5 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3584, allocations: 1.641 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3585, allocations: 0.6562 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3586, allocations: 17.47 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.3586, allocations: 11.81 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.3586, allocations: 5.484 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3586, allocations: 2.219 kB / 0.5234 GB, free: 15.63 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.0001091/0.3588, allocations: 128.4 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.3588, allocations: 17.38 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3591, allocations: 130.5 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3591, allocations: 2.125 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3591, allocations: 3.938 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.3591, allocations: 0.75 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.3597, allocations: 420.3 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3598, allocations: 4.688 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.3598, allocations: 20.42 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3598, allocations: 1.766 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3599, allocations: 5.188 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3599, allocations: 1.156 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3599, allocations: 1.844 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3602, allocations: 209.3 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.3603, allocations: 89.06 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3603, allocations: 9.828 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.3604, allocations: 4.953 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.3604, allocations: 9.266 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3604, allocations: 2.188 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3606, allocations: 157 kB / 0.5246 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3606, allocations: 0 / 0.5246 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3608, allocations: 24.19 kB / 0.5246 GB, free: 14.68 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.002159/0.363, allocations: 1.1 MB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.3633, allocations: 78.06 kB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3633, allocations: 0 / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3634, allocations: 49.64 kB / 0.5258 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3638, allocations: 20.45 kB / 0.5258 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3658, allocations: 1.675 MB / 0.5274 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3662, allocations: 0.7125 MB / 0.5281 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.089e-05/0.3663, allocations: 24.78 kB / 0.5281 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.3664, allocations: 32.66 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3664, allocations: 1.188 kB / 0.5282 GB, free: 11.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.3908, allocations: 3.064 MB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.369, allocations: 10.58 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches