Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01043/0.01043, allocations: 166.5 kB / 15.11 MB, free: 5.934 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.677/1.677, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001941/0.001941, allocations: 95.47 kB / 226.2 MB, free: 10.12 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.5064/0.5064, allocations: 38.05 MB / 303.7 MB, free: 42.76 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005022, allocations: 8 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1183, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.566, allocations: 76.88 MB / 488.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5664, allocations: 73.91 kB / 488.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.5864, allocations: 4.322 MB / 493 MB, free: 7.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5865, allocations: 0 / 493 MB, free: 7.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.5865, allocations: 4 kB / 493 MB, free: 7.102 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001214/0.5878, allocations: 0.5399 MB / 493.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5878, allocations: 12.03 kB / 493.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.588, allocations: 53.98 kB / 493.6 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.5881, allocations: 30.98 kB / 493.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.5884, allocations: 241.5 kB / 493.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.5885, allocations: 20 kB / 493.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.5886, allocations: 27.66 kB / 493.9 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.5894, allocations: 259.5 kB / 494.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.5894, allocations: 4 kB / 494.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.5895, allocations: 9.375 kB / 494.2 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5895, allocations: 5.031 kB / 494.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.5903, allocations: 240.5 kB / 494.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.5923, allocations: 0.733 MB / 495.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.5932, allocations: 254.4 kB / 495.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.5933, allocations: 4.062 kB / 495.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5934, allocations: 38.44 kB / 495.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.416e-06/0.5934, allocations: 0 / 495.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.005174/0.5986, allocations: 1.552 MB / 497 MB, free: 3.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5986, allocations: 55.41 kB / 497 MB, free: 3.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.5989, allocations: 173.3 kB / 497.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.599, allocations: 36.33 kB / 497.2 MB, free: 3.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.5991, allocations: 137.8 kB / 497.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.5992, allocations: 115.8 kB / 497.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.5993, allocations: 6.875 kB / 497.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.5994, allocations: 329.5 kB / 497.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.5998, allocations: 127.7 kB / 497.9 MB, free: 2.641 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.6002, allocations: 166.4 kB / 498.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.6006, allocations: 123.5 kB / 498.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6007, allocations: 4 kB / 498.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001541/0.6022, allocations: 0.4889 MB / 498.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.6023, allocations: 7.953 kB / 498.7 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6023, allocations: 3.984 kB / 498.7 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008032/0.6031, allocations: 256.1 kB / 499 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.6036, allocations: 58.95 kB / 499 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.6047, allocations: 0.7482 MB / 499.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.6053, allocations: 50.7 kB / 499.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.6054, allocations: 11.44 kB / 499.8 MB, free: 1.051 MB / 330.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 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.6056, allocations: 157 kB / 500 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.6057, allocations: 19.72 kB / 0.4883 GB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.6058, allocations: 34.34 kB / 0.4883 GB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6058, allocations: 4 kB / 0.4883 GB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6059, allocations: 3.938 kB / 0.4883 GB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6059, allocations: 7.984 kB / 0.4883 GB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.6084, allocations: 1.003 MB / 0.4893 GB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.6085, allocations: 3.938 kB / 0.4893 GB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.609, allocations: 47.53 kB / 0.4894 GB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007773/0.6098, allocations: 224.3 kB / 0.4896 GB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.6099, allocations: 15.73 kB / 0.4896 GB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.6109, allocations: 0.7069 MB / 0.4903 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6109, allocations: 0 / 0.4903 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.6132, allocations: 0.7071 MB / 0.491 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.6135, allocations: 129.4 kB / 0.4911 GB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.6136, allocations: 7.938 kB / 0.4911 GB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005116/0.6141, allocations: 59.47 kB / 0.4912 GB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.6143, allocations: 55.39 kB / 0.4912 GB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.6144, allocations: 19.48 kB / 0.4912 GB, free: 14.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.6146, allocations: 142.1 kB / 0.4914 GB, free: 14.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6146, allocations: 0 / 0.4914 GB, free: 14.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005788/0.6152, allocations: 79.5 kB / 0.4914 GB, free: 14.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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.002764/0.618, allocations: 1.341 MB / 0.4928 GB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.6193, allocations: 313.8 kB / 0.4931 GB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6193, allocations: 0 / 0.4931 GB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.6199, allocations: 168.1 kB / 0.4932 GB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.6205, allocations: 27.25 kB / 0.4932 GB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/0.6275, allocations: 2.498 MB / 0.4957 GB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.628, allocations: 0.7568 MB / 0.4964 GB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.6282, allocations: 30.27 kB / 0.4964 GB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.6284, allocations: 69.47 kB / 0.4965 GB, free: 9.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6284, allocations: 0 / 0.4965 GB, free: 9.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.67, allocations: 6.367 MB / 0.5027 GB, free: 3.145 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004025/0.6704, allocations: 223 kB / 0.5029 GB, free: 2.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.417, allocations: 0 / 0.5029 GB, free: 2.895 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat