Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008966/0.0008965, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 176.4 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4075/0.4075, allocations: 43.54 MB / 314.5 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.000538, allocations: 12 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1334, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2811/0.4146, allocations: 43.04 MB / 485.9 MB, free: 24.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.4395, allocations: 10.24 MB / 496.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.4498, allocations: 207.9 kB / 496.3 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007743/0.4576, allocations: 2.115 MB / 498.4 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02081/0.4785, allocations: 6.209 MB / 0.4928 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.4817, allocations: 0.5102 MB / 0.4933 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005188/0.4869, allocations: 2.12 MB / 0.4954 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007562/0.4945, allocations: 4.478 MB / 0.4998 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/0.4974, allocations: 0.999 MB / 0.5007 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.5003, allocations: 1.359 MB / 0.5021 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007268/0.501, allocations: 142.1 kB / 0.5022 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.5032, allocations: 0.7548 MB / 0.5029 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.5052, allocations: 1.555 MB / 0.5045 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.5065, allocations: 0.8357 MB / 0.5053 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008285/0.5148, allocations: 5.55 MB / 0.5107 GB, free: 6.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5149, allocations: 0 / 0.5107 GB, free: 6.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5149, allocations: 0 / 0.5107 GB, free: 6.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000299/0.5152, allocations: 0 / 0.5107 GB, free: 6.234 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0207/0.5359, allocations: 4.528 MB / 0.5151 GB, free: 3.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.536, allocations: 9.938 kB / 0.5151 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/0.5383, allocations: 0.7217 MB / 0.5158 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0083/0.5466, allocations: 2.247 MB / 0.518 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/0.5536, allocations: 2.515 MB / 0.5205 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.5539, allocations: 238.5 kB / 0.5207 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.5554, allocations: 326.2 kB / 0.521 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.5784, allocations: 10.79 MB / 0.5316 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.5786, allocations: 47.58 kB / 0.5316 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005542/0.5792, allocations: 151.9 kB / 0.5317 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003554/0.5827, allocations: 1.978 MB / 0.5337 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.6042, allocations: 9.697 MB / 0.5431 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05826/0.6625, allocations: 39.3 MB / 0.5815 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/0.677, allocations: 3.985 MB / 0.5854 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.6781, allocations: 0.6789 MB / 0.5861 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.6782, allocations: 47.56 kB / 0.5861 GB, free: 11.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.568e-06/0.6782, allocations: 0 / 0.5861 GB, free: 11.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04525/0.7235, allocations: 14.27 MB / 0.6001 GB, free: 12.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.7236, allocations: 153.4 kB / 0.6002 GB, free: 12.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006344/0.7299, allocations: 4.199 MB / 0.6043 GB, free: 8.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004239/0.7304, allocations: 49.69 kB / 0.6044 GB, free: 8.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002503/0.7329, allocations: 3.122 MB / 0.6074 GB, free: 5.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.7339, allocations: 0.6211 MB / 0.608 GB, free: 4.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.7342, allocations: 116 kB / 0.6081 GB, free: 4.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003859/0.7346, allocations: 0.5499 MB / 0.6087 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003428/0.738, allocations: 2.076 MB / 0.6107 GB, free: 1.664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006017/0.7441, allocations: 5.76 MB / 0.6163 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/0.7495, allocations: 3.38 MB / 0.6196 GB, free: 6.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-05/0.7496, allocations: 40 kB / 0.6197 GB, free: 6.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01773/0.7673, allocations: 8.354 MB / 0.6278 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.7675, allocations: 60 kB / 0.6279 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/0.7678, allocations: 132 kB / 0.628 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.7706, allocations: 0.9341 MB / 0.6289 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/0.7758, allocations: 1.372 MB / 0.6302 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006777/0.7826, allocations: 4.968 MB / 0.6351 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00593/0.7886, allocations: 331.6 kB / 0.6354 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/0.7901, allocations: 372 kB / 0.6358 GB, free: 5.973 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 714 * Array equations: 3 * 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: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005343/0.7954, allocations: 2.09 MB / 0.6378 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.7965, allocations: 343.5 kB / 0.6381 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/0.8027, allocations: 3.179 MB / 0.6412 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.8027, allocations: 16 kB / 0.6413 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.8027, allocations: 4 kB / 0.6413 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.8028, allocations: 7.969 kB / 0.6413 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2952/1.098, allocations: 7.972 MB / 0.6491 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.098, allocations: 6.516 kB / 0.6491 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.1, allocations: 310.1 kB / 0.6494 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/1.102, allocations: 0.7213 MB / 0.6501 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/1.102, allocations: 38.06 kB / 0.6501 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005494/1.107, allocations: 4.525 MB / 0.6545 GB, free: 150.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.107, allocations: 4.344 kB / 0.6545 GB, free: 150.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008237/1.116, allocations: 5.881 MB / 0.6603 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.118, allocations: 0.6351 MB / 0.6609 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007066/1.118, allocations: 25.72 kB / 0.6609 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.12, allocations: 94.48 kB / 0.661 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.12, allocations: 110.8 kB / 0.6611 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.12, allocations: 53.91 kB / 0.6612 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004787/1.125, allocations: 2.64 MB / 0.6637 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.125, allocations: 0 / 0.6637 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007549/1.133, allocations: 0.9769 MB / 0.6647 GB, free: 146.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 3 * 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: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/1.144, allocations: 6.856 MB / 0.6714 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.154, allocations: 4.998 MB / 0.6763 GB, free: 142 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.154, allocations: 1.344 kB / 0.6763 GB, free: 142 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/1.157, allocations: 1.553 MB / 0.6778 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.16, allocations: 401.2 kB / 0.6782 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09529/1.256, allocations: 124.9 MB / 0.8001 GB, free: 24.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/1.259, allocations: 3.329 MB / 0.8034 GB, free: 22.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004699/1.264, allocations: 1.898 MB / 0.8052 GB, free: 21.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/1.267, allocations: 1.879 MB / 0.8071 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of SimCode: time 1.954e-06/1.267, allocations: 0 / 0.8071 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3911/1.658, allocations: 76.49 MB / 0.8818 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.658, allocations: 205.4 kB / 0.882 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.325/5.984, allocations: 0 / 0.882 GB, free: 157.9 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat