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.002277/0.002276, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.07/2.07, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001616/0.001616, allocations: 82.97 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5147/0.5147, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004987, allocations: 12 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6277, allocations: 108.5 MB / 0.5848 GB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.6281, allocations: 83.95 kB / 0.5849 GB, free: 10.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3749/1.003, allocations: 84.97 MB / 0.6679 GB, free: 4.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.003, allocations: 0 / 0.6679 GB, free: 4.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002814/1.003, allocations: 80 kB / 0.6679 GB, free: 4.441 MB / 490.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.4837/1.487, allocations: 4.751 MB / 0.6726 GB, free: 88.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/1.487, allocations: 9.312 kB / 0.6726 GB, free: 88.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004478/1.492, allocations: 0.7752 MB / 0.6734 GB, free: 88.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02458/1.516, allocations: 2.21 MB / 0.6755 GB, free: 88.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/1.541, allocations: 4.55 MB / 0.68 GB, free: 88.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/1.542, allocations: 321.3 kB / 0.6803 GB, free: 88.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003422/1.545, allocations: 423.7 kB / 0.6807 GB, free: 88.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04823/1.593, allocations: 10.78 MB / 0.6912 GB, free: 85.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004865/1.594, allocations: 56 kB / 0.6912 GB, free: 85.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002929/1.597, allocations: 206.2 kB / 0.6914 GB, free: 85.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003396/1.6, allocations: 1.014 MB / 0.6924 GB, free: 85.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/1.633, allocations: 9.073 MB / 0.7013 GB, free: 85.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07867/1.711, allocations: 47.51 MB / 0.7477 GB, free: 52.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02033/1.732, allocations: 3.625 MB / 0.7512 GB, free: 51.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/1.749, allocations: 4.756 MB / 0.7559 GB, free: 48.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/1.749, allocations: 47.47 kB / 0.7559 GB, free: 48.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 6.702e-06/1.749, allocations: 3.719 kB / 0.7559 GB, free: 48.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.06104/1.81, allocations: 12.38 MB / 0.768 GB, free: 43.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/1.81, allocations: 144 kB / 0.7681 GB, free: 42.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009034/1.819, allocations: 3.65 MB / 0.7717 GB, free: 41.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004395/1.82, allocations: 44.58 kB / 0.7718 GB, free: 41.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002713/1.822, allocations: 3.067 MB / 0.7748 GB, free: 39.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.823, allocations: 0.5972 MB / 0.7753 GB, free: 38.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008331/1.824, allocations: 116.1 kB / 0.7754 GB, free: 38.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004462/1.825, allocations: 0.5569 MB / 0.776 GB, free: 38.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005319/1.83, allocations: 1.952 MB / 0.7779 GB, free: 37.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008013/1.838, allocations: 5.643 MB / 0.7834 GB, free: 31.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008387/1.847, allocations: 3.245 MB / 0.7866 GB, free: 30.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002245/1.847, allocations: 37.72 kB / 0.7866 GB, free: 30.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02303/1.87, allocations: 7.941 MB / 0.7944 GB, free: 27.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.87, allocations: 61.16 kB / 0.7944 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/1.87, allocations: 133.2 kB / 0.7946 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/1.875, allocations: 0.9124 MB / 0.7954 GB, free: 27.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008168/1.883, allocations: 1.353 MB / 0.7968 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009554/1.893, allocations: 4.891 MB / 0.8015 GB, free: 24.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/1.899, allocations: 320.9 kB / 0.8018 GB, free: 24.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.901, allocations: 368.7 kB / 0.8022 GB, free: 24.44 MB / 490.7 MB 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 () * Number of clocked 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.005943/1.907, allocations: 2.081 MB / 0.8042 GB, free: 23.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009251/1.908, allocations: 346.9 kB / 0.8046 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009952/1.918, allocations: 2.901 MB / 0.8074 GB, free: 22.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/1.918, allocations: 16 kB / 0.8074 GB, free: 22.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.918, allocations: 4 kB / 0.8074 GB, free: 22.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-05/1.918, allocations: 5.953 kB / 0.8074 GB, free: 22.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/1.941, allocations: 7.158 MB / 0.8144 GB, free: 16.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/1.941, allocations: 4 kB / 0.8144 GB, free: 16.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.943, allocations: 244 kB / 0.8146 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/1.947, allocations: 0.7062 MB / 0.8153 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004219/1.947, allocations: 31.17 kB / 0.8154 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008646/1.956, allocations: 4.451 MB / 0.8197 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.956, allocations: 3.953 kB / 0.8197 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/1.97, allocations: 5.237 MB / 0.8248 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.972, allocations: 0.6146 MB / 0.8254 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.974, allocations: 24 kB / 0.8255 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.977, allocations: 96.33 kB / 0.8255 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006592/1.978, allocations: 86.66 kB / 0.8256 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.978, allocations: 36 kB / 0.8257 GB, free: 6.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006846/1.985, allocations: 2.555 MB / 0.8282 GB, free: 4.332 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.985, allocations: 0 / 0.8282 GB, free: 4.332 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007235/1.992, allocations: 0.9531 MB / 0.8291 GB, free: 3.387 MB / 490.7 MB 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 () * Number of clocked 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.016/2.008, allocations: 6.054 MB / 0.835 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.021, allocations: 4.707 MB / 0.8396 GB, free: 10 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.021, allocations: 0 / 0.8396 GB, free: 10 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/2.025, allocations: 1.392 MB / 0.841 GB, free: 8.777 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/2.028, allocations: 399.3 kB / 0.8413 GB, free: 8.441 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4595/2.488, allocations: 124.4 MB / 0.9628 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007563/2.495, allocations: 3.322 MB / 0.966 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004835/2.5, allocations: 1.903 MB / 0.9679 GB, free: 37.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/2.5, allocations: 0 / 0.9679 GB, free: 37.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.276/6.776, allocations: 96.99 MB / 1.063 GB, free: 2.281 MB / 0.5261 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