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.00125/0.00125, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.42 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.2335/0.2335, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002255/0.002255, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3757, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004341/0.3801, allocations: 3.073 MB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.3812, allocations: 414.8 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.3814, allocations: 10.81 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.3816, allocations: 74.11 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3819, allocations: 165.8 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.3822, allocations: 97.5 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.3828, allocations: 0.544 MB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.3831, allocations: 161.8 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003199/0.3834, allocations: 194.5 kB / 0.5352 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.3837, allocations: 222.8 kB / 0.5354 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.3838, allocations: 43.98 kB / 0.5354 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.3839, allocations: 39.88 kB / 0.5355 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.481e-05/0.384, allocations: 94.81 kB / 0.5356 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.3842, allocations: 251.8 kB / 0.5358 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000617/0.3849, allocations: 0.5222 MB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3849, allocations: 1.281 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.3849, allocations: 0 / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3849, allocations: 3.938 kB / 0.5363 GB, free: 8.992 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.001123/0.386, allocations: 0.7266 MB / 0.537 GB, free: 8.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.3861, allocations: 10.16 kB / 0.537 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.3862, allocations: 85.23 kB / 0.5371 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3863, allocations: 55.27 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.3867, allocations: 295.6 kB / 0.5375 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.3868, allocations: 35.78 kB / 0.5375 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.3868, allocations: 53.11 kB / 0.5375 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007831/0.3876, allocations: 458.2 kB / 0.538 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3877, allocations: 15.44 kB / 0.538 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.3877, allocations: 20.97 kB / 0.538 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3878, allocations: 11.75 kB / 0.538 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004703/0.3882, allocations: 254.4 kB / 0.5383 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.3909, allocations: 1.688 MB / 0.5399 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.3915, allocations: 430.4 kB / 0.5403 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.3918, allocations: 151.9 kB / 0.5405 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3918, allocations: 8.844 kB / 0.5405 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3919, allocations: 47.41 kB / 0.5405 GB, free: 5.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.3919, allocations: 0 / 0.5405 GB, free: 5.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007679/0.3926, allocations: 352.5 kB / 0.5409 GB, free: 5.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.3928, allocations: 275.3 kB / 0.5411 GB, free: 4.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3931, allocations: 251.8 kB / 0.5414 GB, free: 4.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.3931, allocations: 32.98 kB / 0.5414 GB, free: 4.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.3933, allocations: 253 kB / 0.5416 GB, free: 4.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.3935, allocations: 192.1 kB / 0.5418 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3937, allocations: 115 kB / 0.5419 GB, free: 4.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3938, allocations: 351.8 kB / 0.5423 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.394, allocations: 121.8 kB / 0.5424 GB, free: 3.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.3945, allocations: 423.1 kB / 0.5428 GB, free: 3.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.3953, allocations: 0.5745 MB / 0.5434 GB, free: 2.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3954, allocations: 2.156 kB / 0.5434 GB, free: 2.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009454/0.3963, allocations: 0.5675 MB / 0.5439 GB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3964, allocations: 9.25 kB / 0.5439 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.3964, allocations: 10.56 kB / 0.5439 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.3964, allocations: 18.31 kB / 0.5439 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.397, allocations: 180.5 kB / 0.5441 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.397, allocations: 21.67 kB / 0.5441 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.3974, allocations: 63.8 kB / 0.5442 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3974, allocations: 39.41 kB / 0.5442 GB, free: 2.477 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.00023/0.3977, allocations: 186 kB / 0.5444 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.3979, allocations: 39.95 kB / 0.5445 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.836e-05/0.398, allocations: 42.45 kB / 0.5445 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.398, allocations: 10.25 kB / 0.5445 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.398, allocations: 2.281 kB / 0.5445 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.398, allocations: 6.203 kB / 0.5445 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3991, allocations: 420.2 kB / 0.5449 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3991, allocations: 6.906 kB / 0.5449 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.3997, allocations: 122.2 kB / 0.545 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.3997, allocations: 4.25 kB / 0.545 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.3997, allocations: 14.38 kB / 0.5451 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.3998, allocations: 7.688 kB / 0.5451 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3998, allocations: 2.688 kB / 0.5451 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4008, allocations: 1.085 MB / 0.5461 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.4009, allocations: 113.4 kB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.401, allocations: 17.38 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.4014, allocations: 7.469 kB / 0.5463 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.4014, allocations: 34.44 kB / 0.5463 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.4015, allocations: 17.95 kB / 0.5463 GB, free: 0.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.4017, allocations: 171.5 kB / 0.5465 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4017, allocations: 0 / 0.5465 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008827/0.4026, allocations: 139.7 kB / 0.5466 GB, free: 0.5 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.001456/0.404, allocations: 1.631 MB / 0.5482 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006191/0.4047, allocations: 353.9 kB / 0.5485 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4047, allocations: 0 / 0.5485 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.4048, allocations: 128.2 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.001227/0.4061, allocations: 111.6 kB / 0.5488 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007482/0.4136, allocations: 5.61 MB / 0.5542 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.4142, allocations: 0.8275 MB / 0.555 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.4144, allocations: 52.14 kB / 0.5551 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.4146, allocations: 139.4 kB / 0.5552 GB, free: 7.219 MB / 414.1 MB Notification: Performance of SimCode: time 2.034e-06/0.4147, allocations: 4 kB / 0.5552 GB, free: 7.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.4495, allocations: 8.307 MB / 0.5633 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.828/9.277, allocations: 11.28 kB / 0.5634 GB, free: 15.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)