Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01064/0.01064, allocations: 165.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.713/1.713, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002698/0.002698, allocations: 107.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4908/0.4908, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.0006377, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1129, allocations: 48.72 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.539, allocations: 74.69 MB / 486.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5393, allocations: 66.41 kB / 486.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03459/0.5739, allocations: 6.85 MB / 493.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.619e-06/0.574, allocations: 0 / 493.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.574, allocations: 15.39 kB / 493.3 MB, free: 7.488 MB / 330.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.001511/0.5756, allocations: 0.6285 MB / 493.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5756, allocations: 11.97 kB / 494 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.5758, allocations: 88.95 kB / 494 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.5759, allocations: 55.44 kB / 494.1 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.5761, allocations: 221.7 kB / 494.3 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.5761, allocations: 32.44 kB / 494.3 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.5762, allocations: 59.47 kB / 494.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000896/0.5772, allocations: 450.4 kB / 494.8 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.5772, allocations: 16.86 kB / 494.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.5773, allocations: 26.48 kB / 494.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.5773, allocations: 12 kB / 494.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.5779, allocations: 252.7 kB / 495.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.5811, allocations: 1.702 MB / 496.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.5818, allocations: 409 kB / 497.2 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.5819, allocations: 4 kB / 497.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.5819, allocations: 50.25 kB / 497.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 4.408e-06/0.5819, allocations: 0 / 497.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.001005/0.5829, allocations: 363.1 kB / 497.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.583, allocations: 272 kB / 497.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.5834, allocations: 218.5 kB / 498.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.5835, allocations: 36.7 kB / 498.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.5837, allocations: 237.7 kB / 498.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.5839, allocations: 184 kB / 498.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.584, allocations: 16.5 kB / 498.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5842, allocations: 347.4 kB / 498.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.5845, allocations: 122.3 kB / 499.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.5849, allocations: 415.7 kB / 499.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.5853, allocations: 174.3 kB / 499.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.5854, allocations: 4 kB / 499.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001144/0.5865, allocations: 0.5649 MB / 0.4885 GB, free: 1.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5866, allocations: 11.94 kB / 0.4885 GB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5866, allocations: 15.98 kB / 0.4885 GB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.5866, allocations: 16 kB / 0.4885 GB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/0.5876, allocations: 175.1 kB / 0.4887 GB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.5877, allocations: 19.92 kB / 0.4887 GB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.5881, allocations: 62.31 kB / 0.4888 GB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.5881, allocations: 34.88 kB / 0.4888 GB, free: 0.8594 MB / 330.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.0002673/0.5884, allocations: 188.4 kB / 0.489 GB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.5887, allocations: 39.61 kB / 0.489 GB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.5888, allocations: 43.02 kB / 0.4891 GB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5888, allocations: 8 kB / 0.4891 GB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5888, allocations: 7.953 kB / 0.4891 GB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5889, allocations: 3.938 kB / 0.4891 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.5903, allocations: 418.5 kB / 0.4895 GB, free: 240 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5903, allocations: 0 / 0.4895 GB, free: 240 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.5915, allocations: 123.2 kB / 0.4896 GB, free: 120 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.5915, allocations: 4 kB / 0.4896 GB, free: 116 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.5916, allocations: 19 kB / 0.4896 GB, free: 104 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.5916, allocations: 11.92 kB / 0.4896 GB, free: 92 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5916, allocations: 0 / 0.4896 GB, free: 92 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.593, allocations: 1.183 MB / 0.4908 GB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.5932, allocations: 112.6 kB / 0.4909 GB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.5933, allocations: 18.81 kB / 0.4909 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.5939, allocations: 7.812 kB / 0.4909 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.5939, allocations: 33.08 kB / 0.4909 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.594, allocations: 11 kB / 0.4909 GB, free: 14.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002495/0.5942, allocations: 169 kB / 0.4911 GB, free: 14.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5942, allocations: 4 kB / 0.4911 GB, free: 14.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001186/0.5954, allocations: 138.2 kB / 0.4912 GB, free: 14.5 MB / 346.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.001988/0.5974, allocations: 2.273 MB / 0.4935 GB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.5984, allocations: 344.9 kB / 0.4938 GB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.5985, allocations: 4 kB / 0.4938 GB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.5988, allocations: 128.4 kB / 0.4939 GB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.6, allocations: 80.64 kB / 0.494 GB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.611, allocations: 10.47 MB / 0.5042 GB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.6117, allocations: 0.836 MB / 0.505 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.612, allocations: 44.17 kB / 0.5051 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.6123, allocations: 141.1 kB / 0.5052 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6123, allocations: 0 / 0.5052 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.6497, allocations: 7.496 MB / 0.5125 GB, free: 9.105 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004008/0.6502, allocations: 192 kB / 0.5127 GB, free: 8.863 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.575, allocations: 0 / 0.5127 GB, free: 8.863 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat