Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",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.01079/0.01079, allocations: 174.5 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 1.983/1.983, 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.002083/0.002083, 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.3242/0.3242, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004907, allocations: 12.12 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 54.87 MB / 461.1 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5836/0.6905, allocations: 83.26 MB / 0.5316 GB, free: 25.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.6908, allocations: 77.62 kB / 0.5317 GB, free: 25.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.7113, allocations: 4.316 MB / 0.5359 GB, free: 25.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7113, allocations: 4 kB / 0.5359 GB, free: 25.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.725e-05/0.7114, allocations: 8.719 kB / 0.5359 GB, free: 25.4 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001376/0.7127, allocations: 0.5217 MB / 0.5364 GB, free: 24.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.7128, allocations: 13.91 kB / 0.5365 GB, free: 24.97 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.7129, allocations: 55.03 kB / 0.5365 GB, free: 24.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.713, allocations: 26.77 kB / 0.5365 GB, free: 24.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.7134, allocations: 238 kB / 0.5368 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.7135, allocations: 16.31 kB / 0.5368 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.7136, allocations: 26.47 kB / 0.5368 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.7144, allocations: 257.7 kB / 0.5371 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.7145, allocations: 4.859 kB / 0.5371 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.7145, allocations: 9.562 kB / 0.5371 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.7146, allocations: 5.188 kB / 0.5371 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.7154, allocations: 215.8 kB / 0.5373 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.7176, allocations: 0.7094 MB / 0.538 GB, free: 24.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.7184, allocations: 223.2 kB / 0.5382 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.7184, allocations: 4.5 kB / 0.5382 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.7185, allocations: 33.88 kB / 0.5382 GB, free: 24.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.699e-06/0.7185, allocations: 5.219 kB / 0.5382 GB, free: 24.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.005294/0.7238, allocations: 1.485 MB / 0.5397 GB, free: 23.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.7239, allocations: 59.58 kB / 0.5397 GB, free: 23.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.7242, allocations: 160.7 kB / 0.5399 GB, free: 23.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.7242, allocations: 36.88 kB / 0.5399 GB, free: 23.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.7243, allocations: 134.1 kB / 0.54 GB, free: 23.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.7245, allocations: 117.7 kB / 0.5402 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.7245, allocations: 8.656 kB / 0.5402 GB, free: 23.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.7246, allocations: 333.7 kB / 0.5405 GB, free: 22.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.725, allocations: 119.2 kB / 0.5406 GB, free: 22.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.7256, allocations: 156.5 kB / 0.5408 GB, free: 22.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.726, allocations: 107.5 kB / 0.5409 GB, free: 22.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.726, allocations: 0 / 0.5409 GB, free: 22.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001337/0.7273, allocations: 404.9 kB / 0.5412 GB, free: 22.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.7274, allocations: 5.766 kB / 0.5412 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.7274, allocations: 2.469 kB / 0.5412 GB, free: 22.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.7282, allocations: 203 kB / 0.5414 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.7286, allocations: 52 kB / 0.5415 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009729/0.7296, allocations: 0.7114 MB / 0.5422 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.7302, allocations: 44.78 kB / 0.5422 GB, free: 22.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.7303, allocations: 15.47 kB / 0.5422 GB, free: 22.29 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: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.7305, allocations: 150.2 kB / 0.5424 GB, free: 22.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.7306, allocations: 25.36 kB / 0.5424 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.7322, allocations: 451.5 kB / 0.5428 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7323, allocations: 4.641 kB / 0.5428 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7323, allocations: 0 / 0.5428 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.7323, allocations: 1.969 kB / 0.5428 GB, free: 22.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.735, allocations: 0.9568 MB / 0.5438 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.735, allocations: 0 / 0.5438 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.7355, allocations: 56.22 kB / 0.5438 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.7361, allocations: 167.9 kB / 0.544 GB, free: 21.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/0.7362, allocations: 10.58 kB / 0.544 GB, free: 21.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008483/0.7371, allocations: 0.6812 MB / 0.5447 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.7371, allocations: 1.5 kB / 0.5447 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.7391, allocations: 0.6534 MB / 0.5453 GB, free: 20.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.7394, allocations: 130 kB / 0.5454 GB, free: 20.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/0.7394, allocations: 11.12 kB / 0.5454 GB, free: 20.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.7399, allocations: 55.09 kB / 0.5455 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.7402, allocations: 56.38 kB / 0.5456 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.7402, allocations: 12.89 kB / 0.5456 GB, free: 20.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.7404, allocations: 142.4 kB / 0.5457 GB, free: 20.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7405, allocations: 0 / 0.5457 GB, free: 20.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.7411, allocations: 78.06 kB / 0.5458 GB, free: 20.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/0.7442, allocations: 1.354 MB / 0.5471 GB, free: 35.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.7456, allocations: 333.3 kB / 0.5474 GB, free: 35.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.7457, allocations: 3.938 kB / 0.5474 GB, free: 35.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.7463, allocations: 170.4 kB / 0.5476 GB, free: 35.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.7468, allocations: 22.5 kB / 0.5476 GB, free: 35.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.7532, allocations: 2.368 MB / 0.5499 GB, free: 34.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.7536, allocations: 0.7586 MB / 0.5507 GB, free: 33.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.7538, allocations: 18.22 kB / 0.5507 GB, free: 33.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.754, allocations: 73.91 kB / 0.5507 GB, free: 33.81 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.754, allocations: 0 / 0.5507 GB, free: 33.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.7904, allocations: 6.542 MB / 0.5571 GB, free: 33.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.7907, allocations: 215.4 kB / 0.5573 GB, free: 32.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.592, allocations: 0 / 0.5573 GB, free: 32.94 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat