Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001943/0.001943, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002128/0.002129, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2478/0.2478, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002419/0.00242, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3674, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004824/0.3723, allocations: 3.083 MB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3735, allocations: 419.6 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.3738, allocations: 6.25 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3741, allocations: 66.27 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.3746, allocations: 166.1 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.3749, allocations: 98.16 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.3757, allocations: 0.5398 MB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.3761, allocations: 169.4 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.3765, allocations: 194.5 kB / 0.5352 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.3768, allocations: 218.5 kB / 0.5354 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.3769, allocations: 39.88 kB / 0.5354 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.377, allocations: 41.25 kB / 0.5355 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.3771, allocations: 97.42 kB / 0.5356 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.3774, allocations: 243.7 kB / 0.5358 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007837/0.3782, allocations: 0.5346 MB / 0.5363 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3782, allocations: 0 / 0.5363 GB, free: 8.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3783, allocations: 1.312 kB / 0.5363 GB, free: 8.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3783, allocations: 0 / 0.5363 GB, free: 8.988 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.001406/0.3797, allocations: 0.7269 MB / 0.537 GB, free: 8.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3797, allocations: 9.344 kB / 0.537 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.3799, allocations: 89.45 kB / 0.5371 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.38, allocations: 55.52 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.3805, allocations: 287.5 kB / 0.5375 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.3805, allocations: 36 kB / 0.5375 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.3806, allocations: 53.08 kB / 0.5375 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.3814, allocations: 457.1 kB / 0.538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.3815, allocations: 20 kB / 0.538 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.3816, allocations: 16.38 kB / 0.538 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3816, allocations: 12.84 kB / 0.538 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.3821, allocations: 266.2 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.3849, allocations: 1.696 MB / 0.5399 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.3855, allocations: 415.6 kB / 0.5403 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3857, allocations: 154.1 kB / 0.5405 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3858, allocations: 10.08 kB / 0.5405 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/0.3858, allocations: 46.78 kB / 0.5405 GB, free: 5.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.655e-06/0.3858, allocations: 0 / 0.5405 GB, free: 5.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008316/0.3867, allocations: 356.8 kB / 0.5409 GB, free: 5.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.3869, allocations: 271.4 kB / 0.5411 GB, free: 4.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.3872, allocations: 251.7 kB / 0.5414 GB, free: 4.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.3872, allocations: 36.11 kB / 0.5414 GB, free: 4.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.3875, allocations: 249.9 kB / 0.5416 GB, free: 4.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.3876, allocations: 187 kB / 0.5418 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.3878, allocations: 116.3 kB / 0.5419 GB, free: 4.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.388, allocations: 350.8 kB / 0.5423 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3883, allocations: 122.6 kB / 0.5424 GB, free: 3.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.3888, allocations: 423.6 kB / 0.5428 GB, free: 3.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008497/0.3897, allocations: 0.5737 MB / 0.5434 GB, free: 2.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.3897, allocations: 3.219 kB / 0.5434 GB, free: 2.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001026/0.3907, allocations: 0.5709 MB / 0.5439 GB, free: 2.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3908, allocations: 8.719 kB / 0.5439 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.3908, allocations: 10.97 kB / 0.5439 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/0.3908, allocations: 17.53 kB / 0.5439 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.3914, allocations: 177 kB / 0.5441 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.3915, allocations: 26.89 kB / 0.5441 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.3918, allocations: 70.58 kB / 0.5442 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.3919, allocations: 32.19 kB / 0.5442 GB, free: 2.469 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.000275/0.3922, allocations: 186.1 kB / 0.5444 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.3924, allocations: 39.55 kB / 0.5445 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.3925, allocations: 41.7 kB / 0.5445 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.3925, allocations: 9.844 kB / 0.5445 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.3925, allocations: 3.5 kB / 0.5445 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3925, allocations: 6.141 kB / 0.5445 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.3936, allocations: 416.4 kB / 0.5449 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3937, allocations: 5.688 kB / 0.5449 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.3942, allocations: 123.5 kB / 0.545 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.3942, allocations: 7.375 kB / 0.545 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.3943, allocations: 14.59 kB / 0.5451 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/0.3943, allocations: 7.25 kB / 0.5451 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.3943, allocations: 7.375 kB / 0.5451 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3954, allocations: 1.08 MB / 0.5461 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3956, allocations: 120.7 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.3956, allocations: 17.78 kB / 0.5463 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.396, allocations: 11.22 kB / 0.5463 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.3961, allocations: 30.22 kB / 0.5463 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.3961, allocations: 13.83 kB / 0.5463 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3963, allocations: 171.8 kB / 0.5465 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3963, allocations: 0 / 0.5465 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009328/0.3973, allocations: 139.7 kB / 0.5466 GB, free: 0.5039 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.001435/0.3987, allocations: 1.631 MB / 0.5482 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.3994, allocations: 353.2 kB / 0.5485 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3994, allocations: 0 / 0.5485 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3996, allocations: 136.4 kB / 0.5487 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.401, allocations: 101.8 kB / 0.5488 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00744/0.4084, allocations: 5.606 MB / 0.5542 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.409, allocations: 0.8275 MB / 0.555 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.4093, allocations: 52.14 kB / 0.5551 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.4095, allocations: 143.4 kB / 0.5552 GB, free: 7.223 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4095, allocations: 4 kB / 0.5552 GB, free: 7.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.4476, allocations: 8.3 MB / 0.5633 GB, free: 15.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.34/9.787, allocations: 12.94 kB / 0.5634 GB, free: 15.09 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)