Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.002274/0.002274, allocations: 177.8 kB / 8.363 MB, free: 0.7148 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.981/1.981, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 89.12 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3354/0.3354, allocations: 43.5 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.309e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.416, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/0.7032, allocations: 104.9 MB / 0.5685 GB, free: 10.24 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.7037, allocations: 71.97 kB / 0.5686 GB, free: 10.17 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7004/1.404, allocations: 79.18 MB / 0.6459 GB, free: 107.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.607e-06/1.404, allocations: 1.031 kB / 0.6459 GB, free: 107.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002854/1.404, allocations: 68.97 kB / 0.6459 GB, free: 107.3 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01777/1.422, allocations: 3.791 MB / 0.6496 GB, free: 105.8 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/1.422, allocations: 12.78 kB / 0.6497 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03443/1.457, allocations: 4.287 MB / 0.6538 GB, free: 105.5 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/1.476, allocations: 4.517 MB / 0.6583 GB, free: 105 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/1.477, allocations: 122.3 kB / 0.6584 GB, free: 105 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/1.479, allocations: 223.8 kB / 0.6586 GB, free: 105 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01627/1.496, allocations: 5.628 MB / 0.6641 GB, free: 104.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/1.519, allocations: 8.702 MB / 0.6726 GB, free: 102.5 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002633/1.52, allocations: 57.12 kB / 0.6726 GB, free: 102.5 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/1.521, allocations: 29.97 kB / 0.6727 GB, free: 102.5 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/1.523, allocations: 0.9491 MB / 0.6736 GB, free: 102.5 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06144/1.585, allocations: 41.99 MB / 0.7146 GB, free: 71.52 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005855/1.591, allocations: 3.218 MB / 0.7177 GB, free: 69.8 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/1.594, allocations: 1.909 MB / 0.7196 GB, free: 68.96 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/1.595, allocations: 333.3 kB / 0.7199 GB, free: 68.68 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.595, allocations: 57.44 kB / 0.72 GB, free: 68.62 MB / 475.1 MB Notification: Performance of pre-optimization done (n=156): time 5.51e-06/1.595, allocations: 0 / 0.72 GB, free: 68.62 MB / 475.1 MB Notification: Performance of matching and sorting (n=177): time 0.04182/1.637, allocations: 13.1 MB / 0.7328 GB, free: 63.11 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/1.637, allocations: 170.2 kB / 0.7329 GB, free: 62.93 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005913/1.643, allocations: 2.775 MB / 0.7356 GB, free: 61.81 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005391/1.643, allocations: 25.7 kB / 0.7357 GB, free: 61.78 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/1.646, allocations: 2.879 MB / 0.7385 GB, free: 59.14 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.647, allocations: 0.6582 MB / 0.7391 GB, free: 58.55 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/1.648, allocations: 0 / 0.7391 GB, free: 58.55 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.000388/1.648, allocations: 0.5568 MB / 0.7397 GB, free: 58.05 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004846/1.653, allocations: 2.021 MB / 0.7416 GB, free: 56.23 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007218/1.66, allocations: 5.5 MB / 0.747 GB, free: 49.28 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00732/1.667, allocations: 3.326 MB / 0.7503 GB, free: 46.43 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/1.668, allocations: 32 kB / 0.7503 GB, free: 46.39 MB / 475.1 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02087/1.689, allocations: 7.402 MB / 0.7575 GB, free: 40 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.689, allocations: 65.2 kB / 0.7576 GB, free: 39.94 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/1.689, allocations: 124.1 kB / 0.7577 GB, free: 39.82 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003787/1.693, allocations: 0.9473 MB / 0.7586 GB, free: 39.08 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008481/1.701, allocations: 1.34 MB / 0.7599 GB, free: 37.93 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.713, allocations: 5.747 MB / 0.7655 GB, free: 32.78 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/1.719, allocations: 213.8 kB / 0.7657 GB, free: 32.61 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.721, allocations: 358.1 kB / 0.7661 GB, free: 32.27 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],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 (703): * Single equations (assignments): 699 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001336/1.722, allocations: 415.8 kB / 0.7665 GB, free: 31.86 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009777/1.732, allocations: 3.592 MB / 0.77 GB, free: 28.8 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.733, allocations: 296.2 kB / 0.7703 GB, free: 28.51 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009596/1.743, allocations: 3.304 MB / 0.7735 GB, free: 25.81 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-05/1.743, allocations: 22.5 kB / 0.7735 GB, free: 25.79 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.743, allocations: 4 kB / 0.7735 GB, free: 25.79 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-05/1.743, allocations: 11.59 kB / 0.7735 GB, free: 25.79 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/1.765, allocations: 7.673 MB / 0.781 GB, free: 18.72 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/1.765, allocations: 4 kB / 0.781 GB, free: 18.72 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/1.768, allocations: 283.2 kB / 0.7813 GB, free: 18.45 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/1.772, allocations: 0.7436 MB / 0.782 GB, free: 17.7 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004992/1.772, allocations: 7.984 kB / 0.782 GB, free: 17.69 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.783, allocations: 5.262 MB / 0.7872 GB, free: 12.32 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.783, allocations: 4 kB / 0.7872 GB, free: 12.31 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.797, allocations: 6.061 MB / 0.7931 GB, free: 6.203 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/1.8, allocations: 0.6182 MB / 0.7937 GB, free: 5.562 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.801, allocations: 15.94 kB / 0.7937 GB, free: 5.547 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.804, allocations: 75.86 kB / 0.7938 GB, free: 5.473 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006974/1.805, allocations: 101.1 kB / 0.7939 GB, free: 5.371 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.805, allocations: 45.95 kB / 0.7939 GB, free: 5.328 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004638/1.81, allocations: 1.845 MB / 0.7957 GB, free: 3.488 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.082e-06/1.81, allocations: 0 / 0.7957 GB, free: 3.488 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.007144/1.817, allocations: 0.8085 MB / 0.7965 GB, free: 2.68 MB / 475.1 MB 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 (137): * Single equations (assignments): 133 * 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.01644/1.833, allocations: 6.888 MB / 0.8032 GB, free: 11.75 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.848, allocations: 5.013 MB / 0.8081 GB, free: 6.754 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.848, allocations: 0 / 0.8081 GB, free: 6.754 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005688/1.853, allocations: 1.828 MB / 0.8099 GB, free: 4.914 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.857, allocations: 289.6 kB / 0.8102 GB, free: 4.645 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/1.89, allocations: 8.815 MB / 0.8188 GB, free: 11.78 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008444/1.898, allocations: 3.145 MB / 0.8219 GB, free: 8.629 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00529/1.903, allocations: 1.741 MB / 0.8236 GB, free: 6.887 MB / 0.4952 GB Notification: Performance of SimCode: time 1.503e-06/1.903, allocations: 0 / 0.8236 GB, free: 6.887 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.437/6.341, allocations: 90.73 MB / 0.9122 GB, free: 92.14 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat