Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.001717/0.001717, allocations: 175.5 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007774/0.0007776, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.1868/0.1868, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.7e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.57, allocations: 108.5 MB / 0.572 GB, free: 2.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5703, allocations: 81.98 kB / 0.5721 GB, free: 2.809 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2488/0.8191, allocations: 96.37 MB / 0.6662 GB, free: 10.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8192, allocations: 0 / 0.6662 GB, free: 10.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002515/0.8195, allocations: 104 kB / 0.6663 GB, free: 10.45 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02361/0.8431, allocations: 5.515 MB / 0.6717 GB, free: 4.867 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.8432, allocations: 8.031 kB / 0.6717 GB, free: 4.859 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.8551, allocations: 2.317 MB / 0.674 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.8695, allocations: 4.984 MB / 0.6788 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.8698, allocations: 168 kB / 0.679 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002281/0.8721, allocations: 311.8 kB / 0.6793 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01664/0.8888, allocations: 7.822 MB / 0.6869 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02837/0.9172, allocations: 11.5 MB / 0.6982 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000309/0.9176, allocations: 59.41 kB / 0.6982 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001893/0.9195, allocations: 32 kB / 0.6982 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.9215, allocations: 1.216 MB / 0.6994 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3587/1.28, allocations: 53.63 MB / 0.7518 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005767/1.286, allocations: 4.468 MB / 0.7562 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/1.289, allocations: 3.219 MB / 0.7593 GB, free: 84.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.291, allocations: 1.013 MB / 0.7603 GB, free: 83.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.291, allocations: 58.97 kB / 0.7604 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 5.38e-06/1.291, allocations: 3.906 kB / 0.7604 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.04506/1.336, allocations: 22.92 MB / 0.7827 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.336, allocations: 154.8 kB / 0.7829 GB, free: 77.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/1.341, allocations: 3.303 MB / 0.7861 GB, free: 75.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008545/1.342, allocations: 25.7 kB / 0.7861 GB, free: 75.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002394/1.344, allocations: 3.616 MB / 0.7897 GB, free: 73.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.346, allocations: 0.927 MB / 0.7906 GB, free: 72.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/1.346, allocations: 3.094 kB / 0.7906 GB, free: 72.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003448/1.347, allocations: 0.6047 MB / 0.7912 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/1.35, allocations: 2.883 MB / 0.794 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005384/1.355, allocations: 6.949 MB / 0.8008 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006522/1.362, allocations: 4.403 MB / 0.8051 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/1.362, allocations: 41.06 kB / 0.8051 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=924) (initialization): time 0.01941/1.382, allocations: 9.98 MB / 0.8149 GB, free: 60.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/1.382, allocations: 69.44 kB / 0.8149 GB, free: 60.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002963/1.382, allocations: 147 kB / 0.8151 GB, free: 60.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/1.385, allocations: 1.141 MB / 0.8162 GB, free: 60.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007547/1.393, allocations: 1.762 MB / 0.8179 GB, free: 59.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/1.4, allocations: 5.622 MB / 0.8234 GB, free: 55.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007687/1.408, allocations: 295.6 kB / 0.8237 GB, free: 54.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002876/1.411, allocations: 439.4 kB / 0.8241 GB, free: 54.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (885): * Single equations (assignments): 881 * 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.003631/1.414, allocations: 489.2 kB / 0.8246 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01166/1.426, allocations: 5.474 MB / 0.8299 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.427, allocations: 367.2 kB / 0.8303 GB, free: 49.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.438, allocations: 5.373 MB / 0.8355 GB, free: 44.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/1.438, allocations: 29.64 kB / 0.8355 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.438, allocations: 7.953 kB / 0.8355 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/1.438, allocations: 10.69 kB / 0.8356 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/1.464, allocations: 11.17 MB / 0.8465 GB, free: 35.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/1.464, allocations: 0 / 0.8465 GB, free: 35.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/1.466, allocations: 0.5123 MB / 0.847 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/1.469, allocations: 0.9314 MB / 0.8479 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.469, allocations: 8 kB / 0.8479 GB, free: 34.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005612/1.475, allocations: 5.344 MB / 0.8531 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.475, allocations: 11.94 kB / 0.8531 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.487, allocations: 9.564 MB / 0.8624 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.489, allocations: 0.8587 MB / 0.8633 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.49, allocations: 8 kB / 0.8633 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.493, allocations: 151.3 kB / 0.8634 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.494, allocations: 158.1 kB / 0.8636 GB, free: 20.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.494, allocations: 75.5 kB / 0.8637 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004146/1.498, allocations: 2.196 MB / 0.8658 GB, free: 18.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/1.498, allocations: 0 / 0.8658 GB, free: 18.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009006/1.507, allocations: 1.09 MB / 0.8669 GB, free: 17.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.01325/1.52, allocations: 10.92 MB / 0.8775 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.533, allocations: 6.894 MB / 0.8843 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.533, allocations: 0 / 0.8843 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004242/1.537, allocations: 2.661 MB / 0.8869 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/1.54, allocations: 350.6 kB / 0.8872 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/1.573, allocations: 11.48 MB / 0.8984 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3386/1.912, allocations: 3.906 MB / 0.9022 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008278/1.92, allocations: 2.321 MB / 0.9045 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005282/1.926, allocations: 2.306 MB / 0.9067 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/1.926, allocations: 0 / 0.9067 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/2.08, allocations: 87.78 MB / 0.9925 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/2.08, allocations: 145.3 kB / 0.9926 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.84/6.92, allocations: 4 kB / 0.9926 GB, free: 92.29 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat