Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",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.001319/0.001319, allocations: 114.4 kB / 17.78 MB, free: 5.277 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.001374/0.001374, allocations: 183.8 kB / 18.72 MB, free: 4.352 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2111/0.2111, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 75.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3579, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003816/0.3617, allocations: 2.093 MB / 0.5205 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3639, allocations: 1.314 MB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.364, allocations: 8.312 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.311e-05/0.3641, allocations: 21.14 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.3643, allocations: 35.91 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.3648, allocations: 180.6 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.365, allocations: 181.6 kB / 0.5222 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.3652, allocations: 78.81 kB / 0.5223 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3654, allocations: 82.06 kB / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3655, allocations: 88.38 kB / 0.5224 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.3655, allocations: 16.19 kB / 0.5224 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.3658, allocations: 145 kB / 0.5226 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.3658, allocations: 44.8 kB / 0.5226 GB, free: 476 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.3659, allocations: 94.38 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3663, allocations: 314.8 kB / 0.523 GB, free: 272 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3663, allocations: 1.062 kB / 0.523 GB, free: 272 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3663, allocations: 0 / 0.523 GB, free: 272 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3663, allocations: 3.938 kB / 0.523 GB, free: 268 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006172/0.3669, allocations: 0.5268 MB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3669, allocations: 8.938 kB / 0.5235 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.367, allocations: 82.11 kB / 0.5236 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.3679, allocations: 72.62 kB / 0.5237 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.368, allocations: 195.1 kB / 0.5239 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.3681, allocations: 30.56 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.3681, allocations: 28.31 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.3685, allocations: 239 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3685, allocations: 0 / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3686, allocations: 14.38 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3686, allocations: 7.812 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3689, allocations: 165.2 kB / 0.5243 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.3699, allocations: 0.6427 MB / 0.525 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.3704, allocations: 222.8 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3705, allocations: 62.73 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3706, allocations: 4.969 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3706, allocations: 40.11 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.3706, allocations: 0 / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004739/0.3711, allocations: 220.4 kB / 0.5255 GB, free: 14.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3711, allocations: 58.34 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.3712, allocations: 106.9 kB / 0.5256 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3712, allocations: 31.5 kB / 0.5257 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3713, allocations: 153.5 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/0.3714, allocations: 97.12 kB / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.3715, allocations: 43.44 kB / 0.526 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3716, allocations: 320 kB / 0.5263 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.3717, allocations: 44.3 kB / 0.5263 GB, free: 13.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.3718, allocations: 48.67 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.372, allocations: 121.1 kB / 0.5265 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.372, allocations: 0.9688 kB / 0.5265 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002763/0.3723, allocations: 159.3 kB / 0.5266 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3723, allocations: 5.797 kB / 0.5266 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3723, allocations: 0 / 0.5266 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3724, allocations: 1.281 kB / 0.5266 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3727, allocations: 111.1 kB / 0.5267 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3727, allocations: 1.219 kB / 0.5267 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.3728, allocations: 16.64 kB / 0.5267 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3728, allocations: 5.406 kB / 0.5267 GB, free: 13.66 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 (27): * Single equations (assignments): 27 * 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.0001312/0.3729, allocations: 129.2 kB / 0.5269 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.373, allocations: 13.34 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.373, allocations: 23.16 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.373, allocations: 11.56 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.373, allocations: 0.7031 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3731, allocations: 1.453 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.3734, allocations: 289.1 kB / 0.5272 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3734, allocations: 0 / 0.5272 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.3737, allocations: 102.1 kB / 0.5273 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3737, allocations: 1.375 kB / 0.5273 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3738, allocations: 9.375 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3738, allocations: 9.859 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3738, allocations: 0 / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.3742, allocations: 264.2 kB / 0.5276 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.3742, allocations: 89.78 kB / 0.5276 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3742, allocations: 6.422 kB / 0.5277 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.3743, allocations: 11.2 kB / 0.5277 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.3744, allocations: 21.83 kB / 0.5277 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3744, allocations: 8.734 kB / 0.5277 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.3744, allocations: 80.77 kB / 0.5278 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3744, allocations: 0 / 0.5278 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3747, allocations: 62.11 kB / 0.5278 GB, free: 12.82 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 (27): * Single equations (assignments): 27 * 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.0007796/0.3755, allocations: 0.8724 MB / 0.5287 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3758, allocations: 125.1 kB / 0.5288 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3758, allocations: 0 / 0.5288 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3759, allocations: 72.98 kB / 0.5289 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3762, allocations: 15.72 kB / 0.5289 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.3785, allocations: 1.973 MB / 0.5308 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3789, allocations: 0.7417 MB / 0.5315 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.063e-05/0.379, allocations: 19.38 kB / 0.5316 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3791, allocations: 64.27 kB / 0.5316 GB, free: 9.746 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3791, allocations: 0 / 0.5316 GB, free: 9.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.4019, allocations: 2.742 MB / 0.5343 GB, free: 8.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.332, allocations: 16.08 kB / 0.5343 GB, free: 8.281 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches