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.001259/0.001259, allocations: 182.3 kB / 15.76 MB, free: 6.367 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.699/1.699, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009594/0.0009594, allocations: 98.81 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2201/0.2201, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5954, allocations: 88.31 MB / 0.5651 GB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5957, allocations: 76.08 kB / 0.5652 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01293/0.6087, allocations: 4.518 MB / 0.5696 GB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6088, allocations: 0 / 0.5696 GB, free: 7.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.6088, allocations: 11.94 kB / 0.5696 GB, free: 7.473 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.0008588/0.6097, allocations: 0.5256 MB / 0.5701 GB, free: 6.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6097, allocations: 8.031 kB / 0.5701 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.6098, allocations: 60.41 kB / 0.5702 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.6099, allocations: 27.67 kB / 0.5702 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.6102, allocations: 236.3 kB / 0.5704 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.6102, allocations: 19.44 kB / 0.5704 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.6102, allocations: 19 kB / 0.5704 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.6107, allocations: 254.6 kB / 0.5707 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.6108, allocations: 7.891 kB / 0.5707 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.6108, allocations: 7.062 kB / 0.5707 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.6108, allocations: 8 kB / 0.5707 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.6112, allocations: 224.1 kB / 0.5709 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.6125, allocations: 0.7087 MB / 0.5716 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.613, allocations: 222.3 kB / 0.5718 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.613, allocations: 8.188 kB / 0.5718 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.6131, allocations: 38.53 kB / 0.5719 GB, free: 5.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.6131, allocations: 4 kB / 0.5719 GB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003188/0.6163, allocations: 1.495 MB / 0.5733 GB, free: 4.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.6163, allocations: 55.41 kB / 0.5734 GB, free: 3.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.6165, allocations: 164.4 kB / 0.5735 GB, free: 3.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.6166, allocations: 36.7 kB / 0.5736 GB, free: 3.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.6167, allocations: 129.5 kB / 0.5737 GB, free: 3.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.6168, allocations: 122.8 kB / 0.5738 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.6168, allocations: 6.75 kB / 0.5738 GB, free: 3.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.617, allocations: 336.6 kB / 0.5742 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.6172, allocations: 116.4 kB / 0.5743 GB, free: 3.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.6175, allocations: 157.9 kB / 0.5744 GB, free: 3.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.6177, allocations: 104.5 kB / 0.5745 GB, free: 2.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6177, allocations: 0 / 0.5745 GB, free: 2.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007636/0.6185, allocations: 400.1 kB / 0.5749 GB, free: 2.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6185, allocations: 7.438 kB / 0.5749 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6185, allocations: 0 / 0.5749 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.619, allocations: 202.4 kB / 0.5751 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6192, allocations: 51.34 kB / 0.5751 GB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007381/0.62, allocations: 0.7176 MB / 0.5758 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.6203, allocations: 55.7 kB / 0.5759 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.6203, allocations: 12 kB / 0.5759 GB, free: 1.758 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.0001817/0.6205, allocations: 140.5 kB / 0.576 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.6206, allocations: 23.72 kB / 0.5761 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009226/0.6215, allocations: 453.8 kB / 0.5765 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6215, allocations: 7.938 kB / 0.5765 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6215, allocations: 3.938 kB / 0.5765 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6215, allocations: 3.984 kB / 0.5765 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.6231, allocations: 0.9376 MB / 0.5774 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.6231, allocations: 4.062 kB / 0.5774 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.6233, allocations: 51.8 kB / 0.5775 GB, free: 416 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/0.6237, allocations: 178.9 kB / 0.5777 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.6238, allocations: 11.92 kB / 0.5777 GB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.6244, allocations: 0.6741 MB / 0.5783 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6244, allocations: 4.031 kB / 0.5783 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.6255, allocations: 0.6436 MB / 0.579 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.6257, allocations: 124.4 kB / 0.5791 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.6257, allocations: 15.77 kB / 0.5791 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.626, allocations: 51.45 kB / 0.5791 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.6262, allocations: 55.7 kB / 0.5792 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.6262, allocations: 15.86 kB / 0.5792 GB, free: 14.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.6264, allocations: 138.5 kB / 0.5793 GB, free: 14.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6264, allocations: 0 / 0.5793 GB, free: 14.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.6268, allocations: 79.38 kB / 0.5794 GB, free: 14.66 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) * 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.001597/0.6284, allocations: 1.345 MB / 0.5807 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.6292, allocations: 342.9 kB / 0.5811 GB, free: 13.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6293, allocations: 4 kB / 0.5811 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.6296, allocations: 158.8 kB / 0.5812 GB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.63, allocations: 24.86 kB / 0.5812 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.6342, allocations: 2.382 MB / 0.5836 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.6347, allocations: 0.7566 MB / 0.5843 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.6348, allocations: 22.38 kB / 0.5843 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6349, allocations: 68.67 kB / 0.5844 GB, free: 10.05 MB / 394.7 MB Notification: Performance of SimCode: time 2.414e-06/0.6349, allocations: 3.938 kB / 0.5844 GB, free: 10.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.6581, allocations: 6.538 MB / 0.5908 GB, free: 3.562 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.6584, allocations: 218.7 kB / 0.591 GB, free: 3.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.608, allocations: 0 / 0.591 GB, free: 3.32 MB / 394.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