Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01003/0.01003, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.114/2.114, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002048/0.002048, allocations: 124.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2663/0.2663, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 13.88 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.273, allocations: 81.08 MB / 0.5295 GB, free: 2.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.2733, allocations: 71.89 kB / 0.5296 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3256/0.5989, allocations: 6.855 MB / 0.5363 GB, free: 81.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5989, allocations: 0 / 0.5363 GB, free: 81.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.599, allocations: 8.188 kB / 0.5363 GB, free: 81.9 MB / 378.7 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.001404/0.6004, allocations: 0.634 MB / 0.5369 GB, free: 81.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.6005, allocations: 10.34 kB / 0.5369 GB, free: 81.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.6006, allocations: 84.33 kB / 0.537 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.6008, allocations: 53.92 kB / 0.537 GB, free: 81.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.601, allocations: 216.6 kB / 0.5372 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.6011, allocations: 35.94 kB / 0.5373 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6012, allocations: 54.98 kB / 0.5373 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6023, allocations: 455 kB / 0.5378 GB, free: 80.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/0.6024, allocations: 12.11 kB / 0.5378 GB, free: 80.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.6025, allocations: 18.22 kB / 0.5378 GB, free: 80.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.6025, allocations: 11.72 kB / 0.5378 GB, free: 80.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.6032, allocations: 255.7 kB / 0.5381 GB, free: 80.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.6068, allocations: 1.708 MB / 0.5397 GB, free: 79.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.6077, allocations: 415.6 kB / 0.5401 GB, free: 79.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.6077, allocations: 6.297 kB / 0.5401 GB, free: 79.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.6078, allocations: 47.47 kB / 0.5402 GB, free: 79.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.727e-06/0.6078, allocations: 4 kB / 0.5402 GB, free: 79.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001206/0.609, allocations: 353 kB / 0.5405 GB, free: 79.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.6091, allocations: 268.5 kB / 0.5408 GB, free: 79.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.6095, allocations: 221.2 kB / 0.541 GB, free: 79.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.6096, allocations: 32.61 kB / 0.541 GB, free: 79.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.6098, allocations: 247.9 kB / 0.5412 GB, free: 78.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.61, allocations: 183 kB / 0.5414 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.61, allocations: 14.44 kB / 0.5414 GB, free: 78.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6101, allocations: 348.7 kB / 0.5418 GB, free: 78.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.6105, allocations: 115.1 kB / 0.5419 GB, free: 78.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.611, allocations: 413.9 kB / 0.5423 GB, free: 78.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.6114, allocations: 180.7 kB / 0.5424 GB, free: 78.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.6115, allocations: 11.48 kB / 0.5424 GB, free: 78.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001329/0.6128, allocations: 0.5635 MB / 0.543 GB, free: 78.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.6129, allocations: 11.81 kB / 0.543 GB, free: 78.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.6129, allocations: 10.39 kB / 0.543 GB, free: 78.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.191e-05/0.6129, allocations: 19.11 kB / 0.543 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.614, allocations: 177 kB / 0.5432 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.515e-05/0.6141, allocations: 29.84 kB / 0.5432 GB, free: 77.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.6146, allocations: 62.53 kB / 0.5433 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.6147, allocations: 35.41 kB / 0.5433 GB, free: 77.96 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003402/0.615, allocations: 184.6 kB / 0.5435 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.6153, allocations: 41.78 kB / 0.5435 GB, free: 77.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.6154, allocations: 45.2 kB / 0.5436 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6155, allocations: 6.062 kB / 0.5436 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.6155, allocations: 3.656 kB / 0.5436 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6155, allocations: 1.312 kB / 0.5436 GB, free: 77.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.6171, allocations: 421.1 kB / 0.544 GB, free: 77.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.6171, allocations: 1.531 kB / 0.544 GB, free: 77.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.6184, allocations: 126.5 kB / 0.5441 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.6184, allocations: 4.125 kB / 0.5441 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.6185, allocations: 17.92 kB / 0.5441 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.6185, allocations: 4.312 kB / 0.5441 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.6186, allocations: 10.91 kB / 0.5442 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.6198, allocations: 1.163 MB / 0.5453 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.62, allocations: 116.1 kB / 0.5454 GB, free: 76.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6202, allocations: 13.5 kB / 0.5454 GB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.6208, allocations: 6.75 kB / 0.5454 GB, free: 76.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.6208, allocations: 35.55 kB / 0.5455 GB, free: 76.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.6209, allocations: 15 kB / 0.5455 GB, free: 76.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.6211, allocations: 169 kB / 0.5456 GB, free: 76.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6211, allocations: 0 / 0.5456 GB, free: 76.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001271/0.6224, allocations: 136.4 kB / 0.5458 GB, free: 76.19 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.624, allocations: 2.273 MB / 0.548 GB, free: 74.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.6251, allocations: 346.6 kB / 0.5483 GB, free: 74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.6251, allocations: 0.6875 kB / 0.5483 GB, free: 74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.6254, allocations: 131.8 kB / 0.5484 GB, free: 73.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.6268, allocations: 86.31 kB / 0.5485 GB, free: 73.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/0.6362, allocations: 10.48 MB / 0.5588 GB, free: 64.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6367, allocations: 0.8392 MB / 0.5596 GB, free: 63.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.6371, allocations: 51.61 kB / 0.5596 GB, free: 63.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.6374, allocations: 140.6 kB / 0.5598 GB, free: 63.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6374, allocations: 0 / 0.5598 GB, free: 63.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.674, allocations: 7.493 MB / 0.5671 GB, free: 57.63 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.6743, allocations: 186.9 kB / 0.5673 GB, free: 57.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.472, allocations: 3.938 kB / 0.5673 GB, free: 57.39 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat