Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.001636/0.001635, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001082/0.001082, allocations: 78.67 kB / 267.5 MB, free: 14.12 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.2831/0.2831, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.932e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.87 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/0.6447, allocations: 108.4 MB / 0.5788 GB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6451, allocations: 90.72 kB / 0.5789 GB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3725/1.018, allocations: 85.02 MB / 0.6619 GB, free: 14.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.824e-06/1.018, allocations: 0 / 0.6619 GB, free: 14.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003124/1.018, allocations: 92.06 kB / 0.662 GB, free: 14.02 MB / 474.7 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.02741/1.045, allocations: 4.507 MB / 0.6664 GB, free: 9.445 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.045, allocations: 8.031 kB / 0.6664 GB, free: 9.438 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003717/1.049, allocations: 0.7668 MB / 0.6671 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/1.068, allocations: 2.221 MB / 0.6693 GB, free: 6.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01945/1.087, allocations: 4.52 MB / 0.6737 GB, free: 1.844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/1.088, allocations: 320.4 kB / 0.674 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/1.09, allocations: 423.8 kB / 0.6744 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/1.128, allocations: 10.68 MB / 0.6849 GB, free: 5.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003181/1.129, allocations: 55.47 kB / 0.6849 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002437/1.131, allocations: 207.9 kB / 0.6851 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/1.134, allocations: 1.014 MB / 0.6861 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03175/1.166, allocations: 8.904 MB / 0.6948 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4383/1.604, allocations: 47.51 MB / 0.7412 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01994/1.624, allocations: 3.572 MB / 0.7447 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004131/1.629, allocations: 1.79 MB / 0.7464 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/1.641, allocations: 4.76 MB / 0.7511 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.641, allocations: 47.81 kB / 0.7511 GB, free: 83.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=142): time 6.753e-06/1.641, allocations: 0 / 0.7511 GB, free: 83.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.03701/1.678, allocations: 9.914 MB / 0.7608 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/1.678, allocations: 140.8 kB / 0.7609 GB, free: 80.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008721/1.687, allocations: 3.609 MB / 0.7645 GB, free: 80.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004257/1.687, allocations: 51.61 kB / 0.7645 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002744/1.69, allocations: 3.076 MB / 0.7675 GB, free: 78.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.691, allocations: 0.5871 MB / 0.7681 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007551/1.692, allocations: 117.8 kB / 0.7682 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004283/1.692, allocations: 0.5567 MB / 0.7688 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004822/1.697, allocations: 1.893 MB / 0.7706 GB, free: 77.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007291/1.705, allocations: 5.58 MB / 0.7761 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007678/1.712, allocations: 3.215 MB / 0.7792 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.713, allocations: 40.06 kB / 0.7792 GB, free: 72.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02335/1.736, allocations: 7.817 MB / 0.7869 GB, free: 70.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.736, allocations: 61.03 kB / 0.7869 GB, free: 70.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/1.736, allocations: 138.2 kB / 0.7871 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/1.741, allocations: 0.9114 MB / 0.7879 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008498/1.749, allocations: 1.353 MB / 0.7893 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009291/1.759, allocations: 4.774 MB / 0.7939 GB, free: 67.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/1.766, allocations: 325.7 kB / 0.7942 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.767, allocations: 361.4 kB / 0.7946 GB, free: 67.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * 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.001719/1.769, allocations: 0.5546 MB / 0.7951 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009055/1.77, allocations: 342 kB / 0.7955 GB, free: 66.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/1.779, allocations: 2.829 MB / 0.7982 GB, free: 65.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-05/1.779, allocations: 21.81 kB / 0.7982 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.779, allocations: 3.219 kB / 0.7982 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/1.779, allocations: 9.562 kB / 0.7982 GB, free: 65.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/1.801, allocations: 7.099 MB / 0.8052 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/1.801, allocations: 3.938 kB / 0.8052 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/1.804, allocations: 250.3 kB / 0.8054 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003725/1.808, allocations: 0.701 MB / 0.8061 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003799/1.808, allocations: 24.86 kB / 0.8061 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008432/1.817, allocations: 4.332 MB / 0.8104 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.817, allocations: 7.75 kB / 0.8104 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.829, allocations: 5.133 MB / 0.8154 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.832, allocations: 0.6176 MB / 0.816 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.833, allocations: 25.25 kB / 0.816 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.836, allocations: 94.81 kB / 0.8161 GB, free: 58.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/1.837, allocations: 85.11 kB / 0.8162 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.837, allocations: 44.05 kB / 0.8162 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006422/1.843, allocations: 2.515 MB / 0.8187 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.42e-07/1.843, allocations: 3.938 kB / 0.8187 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007021/1.85, allocations: 0.9547 MB / 0.8196 GB, free: 56.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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.01333/1.864, allocations: 5.94 MB / 0.8254 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.875, allocations: 4.616 MB / 0.8299 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.875, allocations: 3.938 kB / 0.8299 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00287/1.878, allocations: 1.348 MB / 0.8312 GB, free: 46.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/1.881, allocations: 402.6 kB / 0.8316 GB, free: 46.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/1.909, allocations: 9.025 MB / 0.8404 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005723/1.915, allocations: 3.322 MB / 0.8437 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00418/1.919, allocations: 1.9 MB / 0.8455 GB, free: 34.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/1.919, allocations: 0 / 0.8455 GB, free: 34.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.591/6.51, allocations: 96.78 MB / 0.94 GB, free: 126.6 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat