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.001305/0.001305, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001357/0.001357, allocations: 187 kB / 18.71 MB, free: 4.344 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2277/0.2277, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.398, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003456/0.4015, allocations: 2.095 MB / 0.5205 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.4035, allocations: 1.305 MB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.4036, allocations: 7.594 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.892e-05/0.4037, allocations: 25.27 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.4039, allocations: 31.14 kB / 0.5218 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.4046, allocations: 184.3 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.4049, allocations: 178.1 kB / 0.5222 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.4051, allocations: 103.7 kB / 0.5223 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.4053, allocations: 70.17 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.4055, allocations: 96.05 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.4056, allocations: 15.28 kB / 0.5224 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.4061, allocations: 146 kB / 0.5226 GB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.4062, allocations: 40.41 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.4063, allocations: 102 kB / 0.5227 GB, free: 384 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.4068, allocations: 314.2 kB / 0.523 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4068, allocations: 1.062 kB / 0.523 GB, free: 244 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4069, allocations: 0 / 0.523 GB, free: 244 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4069, allocations: 3.938 kB / 0.523 GB, free: 240 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.0007648/0.4076, allocations: 0.51 MB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4077, allocations: 10.53 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.4078, allocations: 89.61 kB / 0.5236 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009374/0.4088, allocations: 77.61 kB / 0.5237 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.409, allocations: 190.4 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.409, allocations: 21.69 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.4091, allocations: 33.41 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.4095, allocations: 230 kB / 0.5241 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4095, allocations: 5.156 kB / 0.5241 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.4096, allocations: 18.16 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4096, allocations: 15.86 kB / 0.5242 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.4099, allocations: 160.8 kB / 0.5243 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.411, allocations: 0.6393 MB / 0.5249 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.4116, allocations: 232.5 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.4118, allocations: 66.59 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.4118, allocations: 0.9375 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4118, allocations: 42.05 kB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.4118, allocations: 0 / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004719/0.4123, allocations: 216.4 kB / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.4124, allocations: 66.03 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4125, allocations: 97.89 kB / 0.5256 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4125, allocations: 31.08 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.4126, allocations: 149.9 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.4127, allocations: 93.12 kB / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.4128, allocations: 50.88 kB / 0.5259 GB, free: 14.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4129, allocations: 321.1 kB / 0.5263 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4131, allocations: 43.45 kB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.002e-05/0.4132, allocations: 40.92 kB / 0.5263 GB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.4134, allocations: 122.1 kB / 0.5264 GB, free: 13.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4134, allocations: 0 / 0.5264 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002744/0.4137, allocations: 166.5 kB / 0.5266 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4137, allocations: 10.2 kB / 0.5266 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4137, allocations: 256 / 0.5266 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4137, allocations: 1.375 kB / 0.5266 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.4141, allocations: 106.3 kB / 0.5267 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4141, allocations: 2.156 kB / 0.5267 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.4142, allocations: 15.97 kB / 0.5267 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4142, allocations: 13.47 kB / 0.5267 GB, free: 13.64 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.0001307/0.4144, allocations: 125 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4144, allocations: 11.05 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.4145, allocations: 21.69 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.4145, allocations: 11.45 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4145, allocations: 1.5 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4145, allocations: 1.078 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.415, allocations: 292.4 kB / 0.5272 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.415, allocations: 0.5625 kB / 0.5272 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.4154, allocations: 101.2 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4154, allocations: 2 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4154, allocations: 1.938 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4154, allocations: 5.125 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4154, allocations: 0.6094 kB / 0.5273 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.4158, allocations: 272.5 kB / 0.5276 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.4159, allocations: 98.75 kB / 0.5277 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.4159, allocations: 1.281 kB / 0.5277 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.416, allocations: 11.3 kB / 0.5277 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.4161, allocations: 16.5 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4161, allocations: 5.625 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.4162, allocations: 84.69 kB / 0.5278 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4162, allocations: 0.7188 kB / 0.5278 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.4165, allocations: 58.34 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.0008788/0.4174, allocations: 0.8709 MB / 0.5287 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.4177, allocations: 131 kB / 0.5288 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4177, allocations: 0 / 0.5288 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.4178, allocations: 86.17 kB / 0.5289 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4181, allocations: 15.39 kB / 0.5289 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.4206, allocations: 1.959 MB / 0.5308 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.421, allocations: 0.7399 MB / 0.5315 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.4212, allocations: 19.22 kB / 0.5315 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.4213, allocations: 59.95 kB / 0.5316 GB, free: 9.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4213, allocations: 1.125 kB / 0.5316 GB, free: 9.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.4412, allocations: 2.764 MB / 0.5343 GB, free: 8.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.07, allocations: 14.7 kB / 0.5343 GB, free: 8.297 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