Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.01453/0.01453, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.785/1.785, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002026/0.002026, allocations: 119.3 kB / 226.2 MB, free: 10.09 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.4773/0.4773, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004767, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1069, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5691, allocations: 73.38 MB / 485.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5694, allocations: 70.2 kB / 485.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007025/0.5764, allocations: 1.95 MB / 487.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5765, allocations: 4 kB / 487.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.5765, allocations: 4 kB / 487.1 MB, free: 12.68 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004504/0.577, allocations: 391.2 kB / 487.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.577, allocations: 8.031 kB / 487.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.5771, allocations: 43.67 kB / 487.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.5771, allocations: 11.91 kB / 487.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5772, allocations: 177.1 kB / 487.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.5773, allocations: 7.484 kB / 487.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.5773, allocations: 18.28 kB / 487.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.5776, allocations: 130.8 kB / 487.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5776, allocations: 0 / 487.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.5776, allocations: 2.625 kB / 487.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5777, allocations: 4 kB / 487.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.5778, allocations: 63.78 kB / 487.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008478/0.5787, allocations: 0.5454 MB / 488.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.5789, allocations: 90.42 kB / 488.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5789, allocations: 0 / 488.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5789, allocations: 30.56 kB / 488.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.5789, allocations: 0 / 488.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007272/0.5797, allocations: 309.9 kB / 488.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.5797, allocations: 81.11 kB / 489 MB, free: 10.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.5798, allocations: 115.1 kB / 489.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.5799, allocations: 29.14 kB / 489.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.5799, allocations: 114.9 kB / 489.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.58, allocations: 34.55 kB / 489.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.58, allocations: 0 / 489.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.58, allocations: 326.3 kB / 489.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.5801, allocations: 21.81 kB / 489.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.5802, allocations: 88.23 kB / 489.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.5803, allocations: 42.66 kB / 489.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5803, allocations: 4 kB / 489.7 MB, free: 9.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000369/0.5807, allocations: 164.5 kB / 489.9 MB, free: 9.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5807, allocations: 4 kB / 489.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5808, allocations: 8.25 kB / 489.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.581, allocations: 37.41 kB / 489.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.5811, allocations: 26.69 kB / 490 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.5829, allocations: 2.539 MB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.583, allocations: 15.34 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5831, allocations: 11.56 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5832, allocations: 121.8 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.5832, allocations: 11.89 kB / 492.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.5833, allocations: 15.55 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5833, allocations: 192 / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5833, allocations: 4 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5833, allocations: 4 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.5836, allocations: 195.5 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5837, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5838, allocations: 15.98 kB / 492.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.584, allocations: 40.27 kB / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.584, allocations: 0 / 492.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.5857, allocations: 2.549 MB / 495.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5857, allocations: 7.875 kB / 495.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.5861, allocations: 321.5 kB / 495.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.5861, allocations: 93.03 kB / 495.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.5862, allocations: 0.6562 kB / 495.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.5863, allocations: 3.875 kB / 495.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.5864, allocations: 9.031 kB / 495.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.5864, allocations: 4 kB / 495.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.609e-05/0.5864, allocations: 97.91 kB / 496 MB, free: 3.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5864, allocations: 0 / 496 MB, free: 3.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005195/0.587, allocations: 35.34 kB / 496 MB, free: 3.297 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006352/0.5876, allocations: 0.924 MB / 497 MB, free: 2.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.5881, allocations: 290.1 kB / 497.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5881, allocations: 0 / 497.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.5885, allocations: 259.2 kB / 497.5 MB, free: 1.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.589, allocations: 24.59 kB / 497.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.5913, allocations: 2.365 MB / 499.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.5917, allocations: 0.7161 MB / 0.4889 GB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.64e-05/0.5918, allocations: 8.875 kB / 0.4889 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.5919, allocations: 31.05 kB / 0.4889 GB, free: 14.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5919, allocations: 0 / 0.4889 GB, free: 14.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.6201, allocations: 2.63 MB / 0.4915 GB, free: 12.11 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/0.6205, allocations: 212.7 kB / 0.4917 GB, free: 11.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.185, allocations: 0 / 0.4917 GB, free: 11.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat