Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.0011, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009387/0.0009384, allocations: 89.8 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.475/0.475, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.892e-05/4.902e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1556, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5534/0.7091, allocations: 88.2 MB / 0.559 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.7094, allocations: 73.27 kB / 0.5591 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.7216, allocations: 4.521 MB / 0.5635 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.7216, allocations: 4 kB / 0.5635 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.7217, allocations: 4 kB / 0.5635 GB, free: 13.25 MB / 394.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.000742/0.7224, allocations: 0.5063 MB / 0.564 GB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7225, allocations: 16.03 kB / 0.564 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.7226, allocations: 54.47 kB / 0.5641 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.7226, allocations: 24.38 kB / 0.5641 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.7229, allocations: 245.9 kB / 0.5643 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.7229, allocations: 16.06 kB / 0.5644 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.723, allocations: 25.38 kB / 0.5644 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.7234, allocations: 239 kB / 0.5646 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.7235, allocations: 5.359 kB / 0.5646 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.7235, allocations: 11.62 kB / 0.5646 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.7235, allocations: 4 kB / 0.5646 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.7239, allocations: 209.1 kB / 0.5648 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.725, allocations: 0.6983 MB / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.7254, allocations: 209.7 kB / 0.5657 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.7256, allocations: 143 kB / 0.5659 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.7256, allocations: 16.31 kB / 0.5659 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.7257, allocations: 30.8 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/0.7257, allocations: 0 / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.001936/0.7276, allocations: 1.161 MB / 0.567 GB, free: 10.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.7277, allocations: 55.41 kB / 0.5671 GB, free: 10.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7278, allocations: 173.1 kB / 0.5673 GB, free: 9.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.7279, allocations: 36.27 kB / 0.5673 GB, free: 9.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.7279, allocations: 126.4 kB / 0.5674 GB, free: 9.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.728, allocations: 118 kB / 0.5675 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.728, allocations: 14.19 kB / 0.5675 GB, free: 9.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.7281, allocations: 335.7 kB / 0.5679 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.7283, allocations: 105.2 kB / 0.568 GB, free: 9.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.7285, allocations: 141.5 kB / 0.5681 GB, free: 9.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.7286, allocations: 106.2 kB / 0.5682 GB, free: 9.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.7286, allocations: 0 / 0.5682 GB, free: 9.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005581/0.7292, allocations: 382.8 kB / 0.5686 GB, free: 8.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7292, allocations: 7.984 kB / 0.5686 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.7293, allocations: 4 kB / 0.5686 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003888/0.7297, allocations: 184.5 kB / 0.5687 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.7299, allocations: 57.03 kB / 0.5688 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005408/0.7304, allocations: 0.7144 MB / 0.5695 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.7307, allocations: 55.64 kB / 0.5695 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.7307, allocations: 8 kB / 0.5696 GB, free: 7.977 MB / 394.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 () * 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 9.338e-05/0.7308, allocations: 126.1 kB / 0.5697 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.7309, allocations: 23.72 kB / 0.5697 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/0.7316, allocations: 433.7 kB / 0.5701 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7316, allocations: 4 kB / 0.5701 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7316, allocations: 0 / 0.5701 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7316, allocations: 7.984 kB / 0.5701 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.7329, allocations: 0.9285 MB / 0.571 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.7329, allocations: 4.062 kB / 0.571 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.7331, allocations: 51.91 kB / 0.5711 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.7334, allocations: 172.3 kB / 0.5712 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.7335, allocations: 11.36 kB / 0.5713 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004673/0.7339, allocations: 0.6739 MB / 0.5719 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.734, allocations: 0 / 0.5719 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.7348, allocations: 0.6209 MB / 0.5725 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.7349, allocations: 122.9 kB / 0.5726 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.735, allocations: 15.7 kB / 0.5727 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.7352, allocations: 50.77 kB / 0.5727 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.7354, allocations: 59.06 kB / 0.5728 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.7354, allocations: 12 kB / 0.5728 GB, free: 5.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.7355, allocations: 138.3 kB / 0.5729 GB, free: 5.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7355, allocations: 0 / 0.5729 GB, free: 5.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.736, allocations: 80.88 kB / 0.573 GB, free: 4.945 MB / 394.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) * 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.001109/0.7371, allocations: 1.326 MB / 0.5743 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.7376, allocations: 318.4 kB / 0.5746 GB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7377, allocations: 4.188 kB / 0.5746 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.7379, allocations: 159.8 kB / 0.5747 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.7382, allocations: 25.02 kB / 0.5748 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.74, allocations: 0.7425 MB / 0.5755 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.7402, allocations: 0.7566 MB / 0.5762 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.7403, allocations: 22.06 kB / 0.5762 GB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.7404, allocations: 65.86 kB / 0.5763 GB, free: 1.828 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.7404, allocations: 0 / 0.5763 GB, free: 1.828 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.7614, allocations: 6.547 MB / 0.5827 GB, free: 11.38 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.7616, allocations: 186.2 kB / 0.5829 GB, free: 11.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.572, allocations: 4 kB / 0.5829 GB, free: 11.15 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat