Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions",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.01298/0.01299, allocations: 177.9 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.125/2.125, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002038/0.002037, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2905/0.2905, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004857, allocations: 12.75 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 54.87 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.2758, allocations: 81.96 MB / 0.5304 GB, free: 1.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.2762, allocations: 71.91 kB / 0.5304 GB, free: 1.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3728/0.649, allocations: 5.806 MB / 0.5361 GB, free: 80.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6491, allocations: 0 / 0.5361 GB, free: 80.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.646e-05/0.6491, allocations: 11.97 kB / 0.5361 GB, free: 80.58 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001282/0.6504, allocations: 0.6074 MB / 0.5367 GB, free: 80.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.6505, allocations: 9.594 kB / 0.5367 GB, free: 80.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.6506, allocations: 82.42 kB / 0.5368 GB, free: 80.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.6507, allocations: 44.72 kB / 0.5368 GB, free: 80.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.6511, allocations: 266.6 kB / 0.5371 GB, free: 79.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.6512, allocations: 31.16 kB / 0.5371 GB, free: 79.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.6513, allocations: 50.53 kB / 0.5372 GB, free: 79.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.6524, allocations: 379.1 kB / 0.5375 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.6524, allocations: 3.172 kB / 0.5375 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.6525, allocations: 17.41 kB / 0.5376 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.6525, allocations: 8.531 kB / 0.5376 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/0.6534, allocations: 258.2 kB / 0.5378 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.6559, allocations: 1.096 MB / 0.5389 GB, free: 79.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.657, allocations: 368.9 kB / 0.5392 GB, free: 79.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.6571, allocations: 4.984 kB / 0.5392 GB, free: 79.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6572, allocations: 45.7 kB / 0.5393 GB, free: 79.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 3.457e-06/0.6572, allocations: 0 / 0.5393 GB, free: 79.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.006136/0.6633, allocations: 2.485 MB / 0.5417 GB, free: 77.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.6634, allocations: 113.3 kB / 0.5418 GB, free: 77.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.6637, allocations: 212.8 kB / 0.542 GB, free: 77.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.6638, allocations: 35.8 kB / 0.5421 GB, free: 77.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.6639, allocations: 187.1 kB / 0.5422 GB, free: 77.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.6641, allocations: 199.7 kB / 0.5424 GB, free: 77.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.6642, allocations: 8.844 kB / 0.5424 GB, free: 77.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.6643, allocations: 347 kB / 0.5428 GB, free: 76.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.6647, allocations: 137.2 kB / 0.5429 GB, free: 76.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.6653, allocations: 232 kB / 0.5431 GB, free: 76.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.6658, allocations: 171 kB / 0.5433 GB, free: 76.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6658, allocations: 1.969 kB / 0.5433 GB, free: 76.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001702/0.6675, allocations: 0.5618 MB / 0.5438 GB, free: 76.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.6676, allocations: 6.875 kB / 0.5438 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.6676, allocations: 2.844 kB / 0.5438 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.6683, allocations: 122.9 kB / 0.544 GB, free: 76.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.669, allocations: 107.2 kB / 0.5441 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/0.6737, allocations: 4.71 MB / 0.5487 GB, free: 72.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.6743, allocations: 22.48 kB / 0.5487 GB, free: 72.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.6744, allocations: 18.22 kB / 0.5487 GB, free: 72.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.6747, allocations: 173.2 kB / 0.5489 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.6748, allocations: 38.16 kB / 0.5489 GB, free: 71.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.675, allocations: 48.58 kB / 0.5489 GB, free: 71.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.675, allocations: 6.625 kB / 0.5489 GB, free: 71.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/0.675, allocations: 3.188 kB / 0.549 GB, free: 71.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.675, allocations: 3 kB / 0.549 GB, free: 71.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.6782, allocations: 1.352 MB / 0.5503 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.6783, allocations: 3.062 kB / 0.5503 GB, free: 71.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.6791, allocations: 102.9 kB / 0.5504 GB, free: 71.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.6796, allocations: 91.56 kB / 0.5505 GB, free: 70.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.6797, allocations: 17.91 kB / 0.5505 GB, free: 70.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.6832, allocations: 4.137 MB / 0.5545 GB, free: 66.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6833, allocations: 2.125 kB / 0.5545 GB, free: 66.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6856, allocations: 1 MB / 0.5555 GB, free: 66.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.6858, allocations: 111.7 kB / 0.5556 GB, free: 66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.6859, allocations: 16.12 kB / 0.5556 GB, free: 65.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.6863, allocations: 22 kB / 0.5556 GB, free: 65.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.6865, allocations: 43.23 kB / 0.5557 GB, free: 65.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.6865, allocations: 19.33 kB / 0.5557 GB, free: 65.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.6868, allocations: 169.1 kB / 0.5559 GB, free: 65.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6868, allocations: 0 / 0.5559 GB, free: 65.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00102/0.6878, allocations: 126.1 kB / 0.556 GB, free: 65.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002569/0.6904, allocations: 1.897 MB / 0.5578 GB, free: 64.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.6924, allocations: 0.774 MB / 0.5586 GB, free: 63.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6925, allocations: 3.938 kB / 0.5586 GB, free: 63.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.6937, allocations: 0.5834 MB / 0.5592 GB, free: 63.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.6945, allocations: 55.5 kB / 0.5592 GB, free: 63.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.7008, allocations: 4.32 MB / 0.5634 GB, free: 59.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.7012, allocations: 0.8279 MB / 0.5642 GB, free: 58.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002397/0.7014, allocations: 37.8 kB / 0.5643 GB, free: 58.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.7017, allocations: 133 kB / 0.5644 GB, free: 58.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7017, allocations: 0 / 0.5644 GB, free: 58.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.8178, allocations: 7.469 MB / 0.5717 GB, free: 51.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.8181, allocations: 205.6 kB / 0.5719 GB, free: 51.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.784/3.603, allocations: 0 / 0.5719 GB, free: 51.23 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat