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.001193/0.001193, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001271/0.001271, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.338/1.338, 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.2117/0.2117, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3645, allocations: 60.82 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003249/0.3678, allocations: 2.096 MB / 0.5205 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3697, allocations: 1.299 MB / 0.5217 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.3698, allocations: 4.5 kB / 0.5218 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.3698, allocations: 28.27 kB / 0.5218 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.37, allocations: 35.19 kB / 0.5218 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.3705, allocations: 184.6 kB / 0.522 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.3707, allocations: 181.9 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.3709, allocations: 99.72 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.371, allocations: 79.11 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3712, allocations: 87.03 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3712, allocations: 16.62 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.3715, allocations: 148.6 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.3716, allocations: 36.91 kB / 0.5226 GB, free: 332 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.3716, allocations: 98.97 kB / 0.5227 GB, free: 264 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.3721, allocations: 312.9 kB / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3721, allocations: 1.812 kB / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3721, allocations: 0 / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3721, allocations: 7.938 kB / 0.523 GB, free: 116 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.0007257/0.3728, allocations: 0.5147 MB / 0.5235 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3729, allocations: 8.688 kB / 0.5235 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.373, allocations: 90.59 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.3739, allocations: 67.55 kB / 0.5237 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.3741, allocations: 193.4 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3741, allocations: 28.78 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.3742, allocations: 28.91 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.3746, allocations: 242.7 kB / 0.5241 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3746, allocations: 0 / 0.5241 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3746, allocations: 14.22 kB / 0.5242 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3747, allocations: 8.562 kB / 0.5242 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.375, allocations: 164.8 kB / 0.5243 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.3759, allocations: 0.6393 MB / 0.5249 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.3764, allocations: 232.5 kB / 0.5252 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3766, allocations: 68.75 kB / 0.5252 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3766, allocations: 3.828 kB / 0.5252 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3766, allocations: 33.23 kB / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/0.3766, allocations: 0 / 0.5253 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004375/0.3771, allocations: 220 kB / 0.5255 GB, free: 14.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3771, allocations: 62.09 kB / 0.5255 GB, free: 14.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.3772, allocations: 105.8 kB / 0.5256 GB, free: 14.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3773, allocations: 31.97 kB / 0.5257 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.3773, allocations: 149.2 kB / 0.5258 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.3774, allocations: 93.41 kB / 0.5259 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.3775, allocations: 42.59 kB / 0.5259 GB, free: 14.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3776, allocations: 321 kB / 0.5262 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.3777, allocations: 43.59 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.3778, allocations: 52.95 kB / 0.5263 GB, free: 13.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.378, allocations: 121.9 kB / 0.5265 GB, free: 13.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3781, allocations: 0 / 0.5265 GB, free: 13.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002668/0.3783, allocations: 162.5 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3784, allocations: 6.203 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3784, allocations: 0 / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3784, allocations: 1.375 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.3787, allocations: 110.2 kB / 0.5267 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3788, allocations: 1.375 kB / 0.5267 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.3788, allocations: 17.19 kB / 0.5267 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3788, allocations: 6.156 kB / 0.5267 GB, free: 13.53 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.0001067/0.379, allocations: 129.4 kB / 0.5269 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.379, allocations: 9.219 kB / 0.5269 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.3791, allocations: 27.03 kB / 0.5269 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3791, allocations: 7.156 kB / 0.5269 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3791, allocations: 0 / 0.5269 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3791, allocations: 1.219 kB / 0.5269 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.3794, allocations: 292.6 kB / 0.5272 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3794, allocations: 1.25 kB / 0.5272 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.3798, allocations: 98.2 kB / 0.5273 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3798, allocations: 6.062 kB / 0.5273 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3798, allocations: 4 kB / 0.5273 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.3798, allocations: 5.844 kB / 0.5273 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3798, allocations: 5.156 kB / 0.5273 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3802, allocations: 263.7 kB / 0.5276 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.3802, allocations: 94.94 kB / 0.5276 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3802, allocations: 5.562 kB / 0.5277 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.3803, allocations: 15.3 kB / 0.5277 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3804, allocations: 13.34 kB / 0.5277 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3804, allocations: 8.188 kB / 0.5277 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.3805, allocations: 84.75 kB / 0.5278 GB, free: 12.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3805, allocations: 1.156 kB / 0.5278 GB, free: 12.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3807, allocations: 57.91 kB / 0.5278 GB, free: 12.7 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.0007156/0.3815, allocations: 0.8723 MB / 0.5287 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.3818, allocations: 130.8 kB / 0.5288 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3818, allocations: 0 / 0.5288 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3819, allocations: 77.28 kB / 0.5289 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3822, allocations: 15.42 kB / 0.5289 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.3843, allocations: 1.962 MB / 0.5308 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3847, allocations: 0.7442 MB / 0.5315 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.604e-05/0.3847, allocations: 19.69 kB / 0.5316 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.481e-05/0.3848, allocations: 64.27 kB / 0.5316 GB, free: 9.641 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3849, allocations: 1.5 kB / 0.5316 GB, free: 9.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.4063, allocations: 2.755 MB / 0.5343 GB, free: 8.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.226, allocations: 11.83 kB / 0.5343 GB, free: 8.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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