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.00114/0.001141, 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.001181/0.001181, allocations: 179.1 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2164/0.2164, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3643, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003857/0.3682, allocations: 3.05 MB / 0.5214 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.3691, allocations: 422.8 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.3694, allocations: 7.719 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.3695, allocations: 71.95 kB / 0.5219 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.3699, allocations: 166.6 kB / 0.522 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.3702, allocations: 103.8 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.3707, allocations: 0.5419 MB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.3711, allocations: 159 kB / 0.5228 GB, free: 232 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.3713, allocations: 208.7 kB / 0.523 GB, free: 136 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.3716, allocations: 214.2 kB / 0.5232 GB, free: 28 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.3717, allocations: 40.53 kB / 0.5233 GB, free: 28 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.099e-05/0.3718, allocations: 40.06 kB / 0.5233 GB, free: 28 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.3719, allocations: 96.64 kB / 0.5234 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.3721, allocations: 249.8 kB / 0.5236 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.3728, allocations: 0.5265 MB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3728, allocations: 0.75 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3728, allocations: 0 / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3728, allocations: 1.219 kB / 0.5241 GB, free: 15.61 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.001062/0.3739, allocations: 0.7211 MB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3739, allocations: 9.656 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.374, allocations: 89.64 kB / 0.5249 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3742, allocations: 55.58 kB / 0.525 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.3745, allocations: 294.7 kB / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.3746, allocations: 35.53 kB / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.3746, allocations: 54.83 kB / 0.5254 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.3754, allocations: 461.2 kB / 0.5258 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/0.3754, allocations: 15.77 kB / 0.5258 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.3755, allocations: 22 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3755, allocations: 12.38 kB / 0.5258 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.3759, allocations: 253.3 kB / 0.5261 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/0.3783, allocations: 1.7 MB / 0.5278 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.3788, allocations: 418.5 kB / 0.5281 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.3791, allocations: 155.2 kB / 0.5283 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3791, allocations: 8.594 kB / 0.5283 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3791, allocations: 43.69 kB / 0.5283 GB, free: 12.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.948e-06/0.3791, allocations: 0 / 0.5283 GB, free: 12.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007476/0.3799, allocations: 364.8 kB / 0.5287 GB, free: 12.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.38, allocations: 263 kB / 0.5289 GB, free: 11.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.3803, allocations: 259.9 kB / 0.5292 GB, free: 11.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3803, allocations: 31.11 kB / 0.5292 GB, free: 11.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3805, allocations: 250.9 kB / 0.5295 GB, free: 11.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.3807, allocations: 190.8 kB / 0.5296 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3808, allocations: 115.8 kB / 0.5298 GB, free: 11.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.381, allocations: 352.1 kB / 0.5301 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.3812, allocations: 117.8 kB / 0.5302 GB, free: 10.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.3815, allocations: 426 kB / 0.5306 GB, free: 10.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.3822, allocations: 0.5739 MB / 0.5312 GB, free: 9.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3822, allocations: 3.062 kB / 0.5312 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008914/0.3831, allocations: 0.5676 MB / 0.5317 GB, free: 9.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3831, allocations: 9.344 kB / 0.5317 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3832, allocations: 10.16 kB / 0.5317 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.194e-05/0.3832, allocations: 18.12 kB / 0.5318 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.3838, allocations: 181.4 kB / 0.5319 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.3839, allocations: 21.95 kB / 0.532 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.3842, allocations: 66.83 kB / 0.532 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.3843, allocations: 35.41 kB / 0.5321 GB, free: 9.457 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.0002529/0.3845, allocations: 187.1 kB / 0.5322 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.3847, allocations: 35.53 kB / 0.5323 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.706e-05/0.3848, allocations: 42.2 kB / 0.5323 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3849, allocations: 13.62 kB / 0.5323 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.3849, allocations: 3.125 kB / 0.5323 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3849, allocations: 6.109 kB / 0.5323 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.386, allocations: 420.6 kB / 0.5327 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.386, allocations: 2.812 kB / 0.5327 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.3865, allocations: 122.7 kB / 0.5328 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.3866, allocations: 2.656 kB / 0.5329 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.3866, allocations: 18.53 kB / 0.5329 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-06/0.3866, allocations: 8.156 kB / 0.5329 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3866, allocations: 6.75 kB / 0.5329 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.3875, allocations: 1.082 MB / 0.5339 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3877, allocations: 116.8 kB / 0.5341 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.3877, allocations: 13.84 kB / 0.5341 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.3881, allocations: 10.88 kB / 0.5341 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3882, allocations: 31.5 kB / 0.5341 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3882, allocations: 13.33 kB / 0.5341 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.3884, allocations: 173.7 kB / 0.5343 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3884, allocations: 0 / 0.5343 GB, free: 7.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000892/0.3893, allocations: 135.3 kB / 0.5344 GB, free: 7.625 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.001286/0.3905, allocations: 1.631 MB / 0.536 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.3913, allocations: 353.8 kB / 0.5363 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3913, allocations: 1.219 kB / 0.5363 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.3915, allocations: 133 kB / 0.5365 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.3927, allocations: 97.09 kB / 0.5366 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/0.3995, allocations: 5.611 MB / 0.542 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.4001, allocations: 0.833 MB / 0.5429 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.4003, allocations: 52.14 kB / 0.5429 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4005, allocations: 140.9 kB / 0.543 GB, free: 280 kB / 398.1 MB Notification: Performance of SimCode: time 1.18e-05/0.4005, allocations: 0 / 0.543 GB, free: 280 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.43, allocations: 8.305 MB / 0.5512 GB, free: 9.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/9.084, allocations: 10.19 kB / 0.5512 GB, free: 9.5 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