Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00215/0.00215, allocations: 201.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 105.8 kB / 297.3 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3818/0.3818, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 11.98 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3824, allocations: 63.24 MB / 0.5193 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5361, allocations: 111.3 MB / 0.628 GB, free: 8.059 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.5364, allocations: 87.92 kB / 0.6281 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6063/1.143, allocations: 96.18 MB / 0.722 GB, free: 100.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.143, allocations: 0 / 0.722 GB, free: 100.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005/1.143, allocations: 94.41 kB / 0.7221 GB, free: 100.9 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02858/1.172, allocations: 5.718 MB / 0.7277 GB, free: 98.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/1.172, allocations: 7.625 kB / 0.7277 GB, free: 98.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005479/1.177, allocations: 0.8897 MB / 0.7286 GB, free: 97.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/1.189, allocations: 2.326 MB / 0.7308 GB, free: 97.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/1.203, allocations: 4.246 MB / 0.735 GB, free: 95.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005144/1.204, allocations: 377.5 kB / 0.7353 GB, free: 95.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002927/1.207, allocations: 0.4922 MB / 0.7358 GB, free: 95.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03208/1.239, allocations: 12.53 MB / 0.7481 GB, free: 89.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004577/1.239, allocations: 65.94 kB / 0.7481 GB, free: 89.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002749/1.242, allocations: 246.5 kB / 0.7484 GB, free: 89.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/1.244, allocations: 1.15 MB / 0.7495 GB, free: 88.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/1.268, allocations: 10.86 MB / 0.7601 GB, free: 81.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09007/1.358, allocations: 54.25 MB / 0.8131 GB, free: 26.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/1.378, allocations: 5.112 MB / 0.8181 GB, free: 21.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/1.379, allocations: 1.014 MB / 0.819 GB, free: 19.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.173e-05/1.379, allocations: 55.88 kB / 0.8191 GB, free: 19.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 9.417e-06/1.379, allocations: 0 / 0.8191 GB, free: 19.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.06588/1.445, allocations: 25 MB / 0.8435 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.445, allocations: 150.6 kB / 0.8437 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008423/1.454, allocations: 3.942 MB / 0.8475 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/1.455, allocations: 61.7 kB / 0.8476 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003707/1.459, allocations: 3.447 MB / 0.8509 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002047/1.461, allocations: 0.8791 MB / 0.8518 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/1.461, allocations: 136 kB / 0.8519 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005197/1.462, allocations: 0.5868 MB / 0.8525 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005126/1.467, allocations: 2.882 MB / 0.8553 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008511/1.475, allocations: 6.692 MB / 0.8618 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/1.483, allocations: 4.296 MB / 0.866 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.483, allocations: 40 kB / 0.8661 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02336/1.507, allocations: 10.44 MB / 0.8763 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.507, allocations: 64.06 kB / 0.8763 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/1.507, allocations: 136 kB / 0.8765 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/1.51, allocations: 1.133 MB / 0.8776 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007201/1.518, allocations: 1.626 MB / 0.8792 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4196/1.937, allocations: 6.036 MB / 0.885 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007352/1.945, allocations: 411.2 kB / 0.8854 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/1.947, allocations: 411.1 kB / 0.8858 GB, free: 128 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (817): * Single equations (assignments): 813 * 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.007089/1.954, allocations: 2.335 MB / 0.8881 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.955, allocations: 394.2 kB / 0.8885 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.965, allocations: 5.307 MB / 0.8937 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.147e-05/1.965, allocations: 33.42 kB / 0.8937 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.965, allocations: 5.25 kB / 0.8937 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.223e-05/1.965, allocations: 8.438 kB / 0.8937 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0253/1.991, allocations: 11.67 MB / 0.9051 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/1.991, allocations: 6.531 kB / 0.9051 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.994, allocations: 478 kB / 0.9056 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/1.997, allocations: 0.938 MB / 0.9065 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007063/1.997, allocations: 46.41 kB / 0.9065 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/2.006, allocations: 5.75 MB / 0.9122 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/2.006, allocations: 5.781 kB / 0.9122 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/2.02, allocations: 9.402 MB / 0.9213 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/2.024, allocations: 0.8698 MB / 0.9222 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009336/2.025, allocations: 42.62 kB / 0.9222 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/2.027, allocations: 176.1 kB / 0.9224 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/2.027, allocations: 140.2 kB / 0.9225 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/2.027, allocations: 69.19 kB / 0.9226 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005254/2.033, allocations: 2.757 MB / 0.9253 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/2.033, allocations: 3.844 kB / 0.9253 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007482/2.04, allocations: 1.21 MB / 0.9265 GB, free: 117.4 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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.01301/2.053, allocations: 10.75 MB / 0.937 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01448/2.068, allocations: 6.906 MB / 0.9437 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/2.068, allocations: 0 / 0.9437 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005001/2.073, allocations: 2.604 MB / 0.9463 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/2.078, allocations: 459.8 kB / 0.9467 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1075/2.185, allocations: 135.3 MB / 1.079 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005967/2.191, allocations: 3.767 MB / 1.083 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006407/2.198, allocations: 2.196 MB / 1.085 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004504/2.202, allocations: 2.242 MB / 1.087 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/2.202, allocations: 0 / 1.087 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5152/2.718, allocations: 92.95 MB / 1.178 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/2.718, allocations: 192.5 kB / 1.178 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.186/7.904, allocations: 0 / 1.178 GB, free: 129.3 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat