Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009368, allocations: 85.88 kB / 292.1 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3987/0.3987, allocations: 44.22 MB / 387.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 8 kB / 460 MB, free: 1.711 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4211, allocations: 61.9 MB / 0.5096 GB, free: 37.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.552, allocations: 89.44 MB / 0.597 GB, free: 5.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5522, allocations: 75.94 kB / 0.5971 GB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01346/0.5657, allocations: 4.619 MB / 0.6016 GB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.5658, allocations: 0 / 0.6016 GB, free: 1.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.5658, allocations: 7.938 kB / 0.6016 GB, free: 1.016 MB / 410.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.0009116/0.5667, allocations: 0.5378 MB / 0.6021 GB, free: 440 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5668, allocations: 12.03 kB / 0.6021 GB, free: 428 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.5669, allocations: 54.55 kB / 0.6022 GB, free: 364 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.5669, allocations: 23.72 kB / 0.6022 GB, free: 340 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.5672, allocations: 247.6 kB / 0.6024 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.5673, allocations: 20.44 kB / 0.6024 GB, free: 32 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.5673, allocations: 19.98 kB / 0.6025 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.5679, allocations: 255.3 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5679, allocations: 7.844 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.568, allocations: 4 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.568, allocations: 12 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.5685, allocations: 217.6 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.5701, allocations: 0.7014 MB / 0.6036 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.5706, allocations: 219.3 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.5707, allocations: 8.172 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.5707, allocations: 38.73 kB / 0.6039 GB, free: 14.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 6.822e-06/0.5708, allocations: 3.984 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.003394/0.5742, allocations: 1.498 MB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5742, allocations: 51.41 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.5744, allocations: 170.8 kB / 0.6056 GB, free: 12.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.5745, allocations: 37.7 kB / 0.6056 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.5746, allocations: 120.9 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.5748, allocations: 126.3 kB / 0.6058 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.5748, allocations: 7.984 kB / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.5751, allocations: 326.8 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.5753, allocations: 126.7 kB / 0.6063 GB, free: 11.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.5757, allocations: 156.1 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5759, allocations: 107.8 kB / 0.6065 GB, free: 11.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5759, allocations: 0 / 0.6065 GB, free: 11.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008607/0.5768, allocations: 419.1 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5768, allocations: 5.406 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.5768, allocations: 0 / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.5773, allocations: 200.7 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.5776, allocations: 51.97 kB / 0.6072 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008238/0.5784, allocations: 0.7057 MB / 0.6078 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.5787, allocations: 55.97 kB / 0.6079 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.5788, allocations: 15.98 kB / 0.6079 GB, free: 10.16 MB / 426.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.0002187/0.579, allocations: 148 kB / 0.6081 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.5791, allocations: 27.7 kB / 0.6081 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009679/0.5801, allocations: 444.9 kB / 0.6085 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5801, allocations: 8 kB / 0.6085 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5801, allocations: 3.953 kB / 0.6085 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5801, allocations: 0 / 0.6085 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.5817, allocations: 0.9406 MB / 0.6094 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5817, allocations: 0 / 0.6094 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.5819, allocations: 51.91 kB / 0.6095 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003929/0.5823, allocations: 176.8 kB / 0.6097 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.5824, allocations: 8 kB / 0.6097 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/0.5831, allocations: 0.681 MB / 0.6103 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5831, allocations: 3.984 kB / 0.6103 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.5842, allocations: 0.6533 MB / 0.611 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.5844, allocations: 124.8 kB / 0.6111 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.5845, allocations: 15.94 kB / 0.6111 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.5847, allocations: 52.02 kB / 0.6112 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5849, allocations: 59.84 kB / 0.6112 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.5849, allocations: 11.98 kB / 0.6112 GB, free: 6.594 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.5851, allocations: 139.1 kB / 0.6114 GB, free: 6.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5851, allocations: 0 / 0.6114 GB, free: 6.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.5856, allocations: 83.94 kB / 0.6114 GB, free: 6.375 MB / 426.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.001603/0.5872, allocations: 1.341 MB / 0.6127 GB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.5879, allocations: 334.6 kB / 0.6131 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5879, allocations: 0 / 0.6131 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.5883, allocations: 168.3 kB / 0.6132 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.5886, allocations: 29.5 kB / 0.6133 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.5925, allocations: 2.387 MB / 0.6156 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5928, allocations: 0.7605 MB / 0.6163 GB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.593, allocations: 22.28 kB / 0.6163 GB, free: 1.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.5931, allocations: 71.34 kB / 0.6164 GB, free: 1.113 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5931, allocations: 0 / 0.6164 GB, free: 1.113 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.6136, allocations: 6.532 MB / 0.6228 GB, free: 10.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/0.6139, allocations: 219.9 kB / 0.623 GB, free: 10.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.489, allocations: 0 / 0.623 GB, free: 10.52 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat