Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",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.001132/0.001132, 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.001124/0.001124, 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.243/0.243, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3933, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003835/0.3972, allocations: 3.058 MB / 0.5214 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.3981, allocations: 415.4 kB / 0.5218 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3983, allocations: 11.94 kB / 0.5218 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3984, allocations: 67.67 kB / 0.5219 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.3988, allocations: 166.4 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.399, allocations: 99.98 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.3995, allocations: 0.5421 MB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.3998, allocations: 159.1 kB / 0.5228 GB, free: 224 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.4, allocations: 216.8 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.4003, allocations: 214.2 kB / 0.5232 GB, free: 12 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.4004, allocations: 39.19 kB / 0.5233 GB, free: 12 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.4004, allocations: 45 kB / 0.5233 GB, free: 8 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.4006, allocations: 92.11 kB / 0.5234 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.4008, allocations: 251 kB / 0.5236 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006603/0.4015, allocations: 0.5226 MB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4015, allocations: 0 / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4015, allocations: 0 / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.4015, allocations: 0 / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001004/0.4025, allocations: 0.7229 MB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4026, allocations: 9.344 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.4027, allocations: 89.45 kB / 0.5249 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.4028, allocations: 55.83 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.4031, allocations: 290 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.4032, allocations: 40.83 kB / 0.5253 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.4033, allocations: 54.17 kB / 0.5254 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/0.404, allocations: 465.1 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.404, allocations: 16.8 kB / 0.5258 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.4041, allocations: 16.97 kB / 0.5258 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.4041, allocations: 15.86 kB / 0.5258 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.4046, allocations: 254.4 kB / 0.5261 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.4068, allocations: 1.696 MB / 0.5277 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.4074, allocations: 414.6 kB / 0.5281 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.4076, allocations: 162.7 kB / 0.5283 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4077, allocations: 9.609 kB / 0.5283 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.4077, allocations: 46.69 kB / 0.5284 GB, free: 12.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.487e-06/0.4077, allocations: 4.891 kB / 0.5284 GB, free: 12.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007316/0.4085, allocations: 356.4 kB / 0.5287 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.4086, allocations: 268.1 kB / 0.529 GB, free: 11.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.4089, allocations: 254.8 kB / 0.5292 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.4089, allocations: 39.39 kB / 0.5292 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4091, allocations: 246.4 kB / 0.5295 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.4092, allocations: 187.9 kB / 0.5296 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4094, allocations: 120.5 kB / 0.5298 GB, free: 11.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4095, allocations: 349.7 kB / 0.5301 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4097, allocations: 119 kB / 0.5302 GB, free: 10.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.4102, allocations: 422.2 kB / 0.5306 GB, free: 10.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.4109, allocations: 0.5697 MB / 0.5312 GB, free: 9.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.4109, allocations: 2.969 kB / 0.5312 GB, free: 9.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008949/0.4118, allocations: 0.568 MB / 0.5317 GB, free: 9.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4118, allocations: 13.72 kB / 0.5317 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.4118, allocations: 9.5 kB / 0.5317 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/0.4119, allocations: 17.94 kB / 0.5318 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.4124, allocations: 184.9 kB / 0.5319 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.4125, allocations: 21.86 kB / 0.532 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.4128, allocations: 67.67 kB / 0.532 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4128, allocations: 32.62 kB / 0.5321 GB, free: 9.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.000193/0.413, allocations: 185.8 kB / 0.5322 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4132, allocations: 39.44 kB / 0.5323 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.4133, allocations: 38.67 kB / 0.5323 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.4133, allocations: 9.656 kB / 0.5323 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.4134, allocations: 2.844 kB / 0.5323 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.4134, allocations: 7.359 kB / 0.5323 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4144, allocations: 422.6 kB / 0.5327 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4144, allocations: 2.031 kB / 0.5327 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.415, allocations: 122.9 kB / 0.5329 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.415, allocations: 8.125 kB / 0.5329 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.415, allocations: 18.09 kB / 0.5329 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.415, allocations: 7.875 kB / 0.5329 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.415, allocations: 3 kB / 0.5329 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.4159, allocations: 1.078 MB / 0.5339 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.416, allocations: 113.3 kB / 0.534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.4161, allocations: 17.61 kB / 0.5341 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4165, allocations: 10.53 kB / 0.5341 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.4165, allocations: 25.94 kB / 0.5341 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4165, allocations: 15.31 kB / 0.5341 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4167, allocations: 173 kB / 0.5343 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4167, allocations: 0 / 0.5343 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008086/0.4175, allocations: 135.7 kB / 0.5344 GB, free: 7.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.001288/0.4188, allocations: 1.64 MB / 0.536 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006874/0.4195, allocations: 345.8 kB / 0.5363 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4195, allocations: 4.375 kB / 0.5363 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.4197, allocations: 126.5 kB / 0.5365 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.4209, allocations: 103.3 kB / 0.5366 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007307/0.4282, allocations: 5.623 MB / 0.5421 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.4288, allocations: 0.8256 MB / 0.5429 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.429, allocations: 47.91 kB / 0.5429 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.4292, allocations: 144.5 kB / 0.543 GB, free: 256 kB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4292, allocations: 0 / 0.543 GB, free: 256 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.4578, allocations: 8.3 MB / 0.5511 GB, free: 9.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.511, allocations: 3.75 kB / 0.5512 GB, free: 9.512 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_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_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches