Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.01438/0.01438, allocations: 175.2 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.119/2.119, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002019/0.002019, 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.26/0.26, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004732, allocations: 10.44 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.2702, allocations: 81.4 MB / 0.5298 GB, free: 1.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/0.2706, allocations: 67.97 kB / 0.5299 GB, free: 1.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3133/0.5839, allocations: 2.33 MB / 0.5322 GB, free: 82.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.584, allocations: 0 / 0.5322 GB, free: 82.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.584, allocations: 6.812 kB / 0.5322 GB, free: 82.71 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006145/0.5846, allocations: 418 kB / 0.5326 GB, free: 82.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5847, allocations: 8.969 kB / 0.5326 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.5848, allocations: 46.28 kB / 0.5326 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.5848, allocations: 18.53 kB / 0.5326 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.5851, allocations: 201.7 kB / 0.5328 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.5851, allocations: 15.83 kB / 0.5328 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.5852, allocations: 10.81 kB / 0.5328 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.5856, allocations: 128.8 kB / 0.533 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.5856, allocations: 1.531 kB / 0.533 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.5856, allocations: 7.328 kB / 0.533 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5857, allocations: 3.656 kB / 0.533 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.586, allocations: 88.73 kB / 0.5331 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.5869, allocations: 466.6 kB / 0.5335 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.5873, allocations: 119.1 kB / 0.5336 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.5873, allocations: 1.281 kB / 0.5336 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.5874, allocations: 35.66 kB / 0.5337 GB, free: 81.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.5874, allocations: 4.969 kB / 0.5337 GB, free: 81.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.00218/0.5896, allocations: 0.8209 MB / 0.5345 GB, free: 81.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.5896, allocations: 58.16 kB / 0.5345 GB, free: 81.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.5898, allocations: 127.9 kB / 0.5346 GB, free: 81.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5898, allocations: 26.7 kB / 0.5347 GB, free: 81.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.5899, allocations: 114.1 kB / 0.5348 GB, free: 80.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.59, allocations: 67.77 kB / 0.5348 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.59, allocations: 4.812 kB / 0.5348 GB, free: 80.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.5901, allocations: 330.5 kB / 0.5352 GB, free: 80.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.5903, allocations: 43.8 kB / 0.5352 GB, free: 80.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.5905, allocations: 76.48 kB / 0.5353 GB, free: 80.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.5907, allocations: 60.31 kB / 0.5353 GB, free: 80.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5907, allocations: 0 / 0.5353 GB, free: 80.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007037/0.5915, allocations: 213.3 kB / 0.5355 GB, free: 80.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.5915, allocations: 6.375 kB / 0.5355 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5915, allocations: 0 / 0.5355 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.5918, allocations: 38.41 kB / 0.5356 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.5921, allocations: 41.53 kB / 0.5356 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.5938, allocations: 1.569 MB / 0.5372 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.594, allocations: 7.547 kB / 0.5372 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5941, allocations: 9.359 kB / 0.5372 GB, free: 79.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.5943, allocations: 139.1 kB / 0.5373 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.5943, allocations: 10.94 kB / 0.5373 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.5944, allocations: 23.73 kB / 0.5373 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5944, allocations: 3.531 kB / 0.5373 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5944, allocations: 4.062 kB / 0.5373 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.5944, allocations: 1.125 kB / 0.5373 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5956, allocations: 0.5636 MB / 0.5379 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5957, allocations: 3.953 kB / 0.5379 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.596, allocations: 34.23 kB / 0.5379 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.5962, allocations: 32.92 kB / 0.538 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.5962, allocations: 6.062 kB / 0.538 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.5975, allocations: 1.375 MB / 0.5393 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5976, allocations: 0.75 kB / 0.5393 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.5984, allocations: 368.7 kB / 0.5397 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5985, allocations: 85.95 kB / 0.5397 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.5986, allocations: 5.094 kB / 0.5397 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.5987, allocations: 5.844 kB / 0.5398 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.5988, allocations: 18.67 kB / 0.5398 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5989, allocations: 7.156 kB / 0.5398 GB, free: 77.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.599, allocations: 124 kB / 0.5399 GB, free: 76.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.599, allocations: 0 / 0.5399 GB, free: 76.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000485/0.5995, allocations: 38.28 kB / 0.5399 GB, free: 76.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.6006, allocations: 0.9591 MB / 0.5409 GB, free: 76.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.6015, allocations: 275.2 kB / 0.5411 GB, free: 76.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6015, allocations: 0 / 0.5411 GB, free: 76.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.6019, allocations: 197.8 kB / 0.5413 GB, free: 75.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.6023, allocations: 13.95 kB / 0.5413 GB, free: 75.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.6053, allocations: 1.547 MB / 0.5428 GB, free: 74.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.6056, allocations: 0.7228 MB / 0.5436 GB, free: 74.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.6057, allocations: 14.83 kB / 0.5436 GB, free: 74.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6058, allocations: 46.03 kB / 0.5436 GB, free: 74.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.786e-06/0.6058, allocations: 112 / 0.5436 GB, free: 74.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.6324, allocations: 3.014 MB / 0.5466 GB, free: 73.79 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/0.6328, allocations: 211 kB / 0.5468 GB, free: 73.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.269, allocations: 3.797 kB / 0.5468 GB, free: 73.55 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat