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.001589/0.001589, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.467/1.467, allocations: 221.4 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009337, allocations: 91.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2712/0.2712, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.61e-05, allocations: 8 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5828, allocations: 89.36 MB / 0.5891 GB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.5831, allocations: 75.95 kB / 0.5891 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01314/0.5963, allocations: 4.628 MB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.5963, allocations: 4 kB / 0.5937 GB, free: 11.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.5963, allocations: 4 kB / 0.5937 GB, free: 11.18 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.0007039/0.597, allocations: 0.51 MB / 0.5942 GB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.5971, allocations: 12.03 kB / 0.5942 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.5971, allocations: 58.53 kB / 0.5942 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.5972, allocations: 23.72 kB / 0.5942 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.5974, allocations: 242.5 kB / 0.5945 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.5974, allocations: 20.42 kB / 0.5945 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.5975, allocations: 24 kB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.5979, allocations: 239.2 kB / 0.5947 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5979, allocations: 11.91 kB / 0.5948 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.598, allocations: 8 kB / 0.5948 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.598, allocations: 4 kB / 0.5948 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.5983, allocations: 205.6 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.5995, allocations: 0.7015 MB / 0.5957 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.5999, allocations: 211.2 kB / 0.5959 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.6001, allocations: 133.3 kB / 0.596 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.6002, allocations: 8.234 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.6002, allocations: 30.8 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.685e-06/0.6002, allocations: 0 / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001993/0.6022, allocations: 1.175 MB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.6022, allocations: 55.41 kB / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.6024, allocations: 157.9 kB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.6024, allocations: 37.7 kB / 0.5974 GB, free: 7.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.6025, allocations: 132.5 kB / 0.5975 GB, free: 6.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.6026, allocations: 118.4 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.6026, allocations: 4 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6028, allocations: 330.8 kB / 0.598 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.603, allocations: 104 kB / 0.5981 GB, free: 6.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.6032, allocations: 155.2 kB / 0.5982 GB, free: 6.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.6034, allocations: 93 kB / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6034, allocations: 0 / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006639/0.604, allocations: 393.7 kB / 0.5987 GB, free: 5.715 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6041, allocations: 8.938 kB / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6041, allocations: 0 / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.6045, allocations: 188.8 kB / 0.5989 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.6047, allocations: 51.91 kB / 0.5989 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006522/0.6054, allocations: 0.7098 MB / 0.5996 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.6057, allocations: 51.94 kB / 0.5997 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.6057, allocations: 20.11 kB / 0.5997 GB, free: 4.664 MB / 410.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 0.0001145/0.6058, allocations: 129 kB / 0.5998 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.6059, allocations: 23.72 kB / 0.5998 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/0.6067, allocations: 433 kB / 0.6002 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6068, allocations: 0 / 0.6002 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6068, allocations: 7.953 kB / 0.6002 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6068, allocations: 0 / 0.6002 GB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.6081, allocations: 0.9326 MB / 0.6011 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6082, allocations: 4 kB / 0.6012 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.6084, allocations: 47.97 kB / 0.6012 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.6087, allocations: 172.7 kB / 0.6014 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.6088, allocations: 11.98 kB / 0.6014 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005295/0.6093, allocations: 0.6733 MB / 0.602 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6093, allocations: 64 / 0.602 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.6102, allocations: 0.6258 MB / 0.6026 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.6104, allocations: 124.8 kB / 0.6028 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.6104, allocations: 8 kB / 0.6028 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.6107, allocations: 52.02 kB / 0.6028 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.6108, allocations: 59.84 kB / 0.6029 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.6109, allocations: 15.98 kB / 0.6029 GB, free: 1.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.611, allocations: 143.3 kB / 0.603 GB, free: 1.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.611, allocations: 0 / 0.603 GB, free: 1.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.6114, allocations: 76 kB / 0.6031 GB, free: 0.9766 MB / 410.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.001357/0.6127, allocations: 1.317 MB / 0.6044 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006246/0.6134, allocations: 313.6 kB / 0.6047 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6134, allocations: 4 kB / 0.6047 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.6137, allocations: 147.8 kB / 0.6048 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.614, allocations: 36.86 kB / 0.6049 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.616, allocations: 0.7401 MB / 0.6056 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6163, allocations: 0.7566 MB / 0.6063 GB, free: 13.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.732e-05/0.6164, allocations: 26.06 kB / 0.6064 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.6166, allocations: 67.41 kB / 0.6064 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6166, allocations: 0 / 0.6064 GB, free: 13.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.6375, allocations: 6.543 MB / 0.6128 GB, free: 7.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.6378, allocations: 185.5 kB / 0.613 GB, free: 6.848 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.448, allocations: 0 / 0.613 GB, free: 6.848 MB / 426.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