Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 87.55 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2115/0.2115, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.17e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5329/0.6661, allocations: 106.7 MB / 0.606 GB, free: 14.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.6665, allocations: 75.95 kB / 0.6061 GB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.231/0.8975, allocations: 77.87 MB / 0.6821 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8975, allocations: 0 / 0.6821 GB, free: 128 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001545/0.8977, allocations: 68 kB / 0.6822 GB, free: 60 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01036/0.908, allocations: 3.631 MB / 0.6857 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9081, allocations: 8.031 kB / 0.6857 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001983/0.9101, allocations: 0.6635 MB / 0.6864 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.9278, allocations: 4.246 MB / 0.6905 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.9417, allocations: 4.275 MB / 0.6947 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.9421, allocations: 271.1 kB / 0.6949 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002203/0.9443, allocations: 363.8 kB / 0.6953 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/0.9677, allocations: 9.093 MB / 0.7042 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/0.968, allocations: 59.53 kB / 0.7042 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008578/0.9689, allocations: 171.9 kB / 0.7044 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/0.9703, allocations: 0.8922 MB / 0.7053 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3931/1.363, allocations: 7.588 MB / 0.7127 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05899/1.422, allocations: 42.12 MB / 0.7538 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/1.431, allocations: 3.441 MB / 0.7572 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/1.433, allocations: 1.797 MB / 0.7589 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/1.434, allocations: 333.3 kB / 0.7592 GB, free: 100 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.434, allocations: 50.91 kB / 0.7593 GB, free: 100 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 4.478e-06/1.434, allocations: 1.219 kB / 0.7593 GB, free: 100 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156): time 0.02953/1.463, allocations: 12.12 MB / 0.7711 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/1.463, allocations: 169.3 kB / 0.7713 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004317/1.468, allocations: 3.129 MB / 0.7743 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/1.468, allocations: 45.39 kB / 0.7744 GB, free: 94.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/1.469, allocations: 2.719 MB / 0.777 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005861/1.47, allocations: 0.6094 MB / 0.7776 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.47, allocations: 106.5 kB / 0.7777 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002503/1.471, allocations: 0.5285 MB / 0.7783 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.473, allocations: 1.933 MB / 0.7801 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/1.477, allocations: 5.168 MB / 0.7852 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/1.48, allocations: 3.163 MB / 0.7883 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.083e-05/1.48, allocations: 35.47 kB / 0.7883 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01098/1.491, allocations: 7.64 MB / 0.7958 GB, free: 82.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.925e-05/1.491, allocations: 57.77 kB / 0.7958 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-05/1.492, allocations: 113.1 kB / 0.7959 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/1.494, allocations: 0.9276 MB / 0.7968 GB, free: 81.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/1.497, allocations: 1.207 MB / 0.798 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007009/1.504, allocations: 6.077 MB / 0.804 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/1.509, allocations: 295.4 kB / 0.8042 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000877/1.51, allocations: 326.2 kB / 0.8045 GB, free: 78.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 634 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009273/1.511, allocations: 0.5155 MB / 0.8051 GB, free: 77.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007329/1.512, allocations: 307.3 kB / 0.8053 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/1.517, allocations: 3.074 MB / 0.8083 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/1.517, allocations: 18.47 kB / 0.8084 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.517, allocations: 3.125 kB / 0.8084 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/1.517, allocations: 10.36 kB / 0.8084 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.531, allocations: 7.777 MB / 0.816 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/1.531, allocations: 3.062 kB / 0.816 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.533, allocations: 238.3 kB / 0.8162 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.534, allocations: 0.7508 MB / 0.8169 GB, free: 73.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.535, allocations: 27.44 kB / 0.817 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/1.541, allocations: 5.627 MB / 0.8225 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.542, allocations: 4 kB / 0.8225 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007698/1.549, allocations: 5.672 MB / 0.828 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.551, allocations: 367.8 kB / 0.8284 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/1.551, allocations: 23.95 kB / 0.8284 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.552, allocations: 92.56 kB / 0.8285 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/1.552, allocations: 87.14 kB / 0.8285 GB, free: 63.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.553, allocations: 36 kB / 0.8286 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00338/1.556, allocations: 2.177 MB / 0.8307 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/1.556, allocations: 0 / 0.8307 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004732/1.561, allocations: 0.886 MB / 0.8316 GB, free: 60.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007652/1.568, allocations: 6.479 MB / 0.8379 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008261/1.577, allocations: 4.753 MB / 0.8425 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.577, allocations: 0 / 0.8425 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/1.579, allocations: 1.69 MB / 0.8442 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.581, allocations: 365.2 kB / 0.8445 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.597, allocations: 8.023 MB / 0.8524 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/1.6, allocations: 2.996 MB / 0.8553 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003989/1.604, allocations: 1.728 MB / 0.857 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.606, allocations: 1.628 MB / 0.8586 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/1.606, allocations: 0 / 0.8586 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4628/2.069, allocations: 69.64 MB / 0.9266 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/2.069, allocations: 194.8 kB / 0.9268 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/6.495, allocations: 4 kB / 0.9268 GB, free: 129.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat