Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_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.001008/0.001008, allocations: 177.6 kB / 8.005 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.573/1.573, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008668/0.0008668, allocations: 82.62 kB / 261.7 MB, free: 1.688 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.2367/0.2367, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.137e-05/2.139e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 58.86 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6216, allocations: 104.9 MB / 0.5685 GB, free: 6.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.6219, allocations: 74.75 kB / 0.5686 GB, free: 6.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2003/0.8222, allocations: 79.19 MB / 0.6459 GB, free: 15.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.8223, allocations: 3.938 kB / 0.6459 GB, free: 15.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.8225, allocations: 76 kB / 0.646 GB, free: 15.41 MB / 458.7 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.01279/0.8352, allocations: 3.789 MB / 0.6497 GB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.8353, allocations: 12.03 kB / 0.6497 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.8535, allocations: 4.289 MB / 0.6539 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.8665, allocations: 4.51 MB / 0.6583 GB, free: 2.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.8667, allocations: 124 kB / 0.6584 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.8683, allocations: 220 kB / 0.6586 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01102/0.8794, allocations: 5.626 MB / 0.6641 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.8966, allocations: 8.704 MB / 0.6726 GB, free: 3.094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.8968, allocations: 63.39 kB / 0.6727 GB, free: 3.031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.8973, allocations: 28 kB / 0.6727 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.8985, allocations: 0.9474 MB / 0.6736 GB, free: 2.051 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3762/1.275, allocations: 41.97 MB / 0.7146 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/1.279, allocations: 3.225 MB / 0.7178 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/1.282, allocations: 1.91 MB / 0.7196 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/1.282, allocations: 337.5 kB / 0.7199 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.282, allocations: 53.09 kB / 0.72 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 5.931e-06/1.282, allocations: 0.9375 kB / 0.72 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.02763/1.31, allocations: 13.1 MB / 0.7328 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.31, allocations: 173.5 kB / 0.733 GB, free: 100 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/1.314, allocations: 2.776 MB / 0.7357 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004435/1.315, allocations: 25.7 kB / 0.7357 GB, free: 99.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.317, allocations: 2.896 MB / 0.7385 GB, free: 98.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/1.317, allocations: 0.6599 MB / 0.7392 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/1.318, allocations: 0 / 0.7392 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002845/1.318, allocations: 0.5507 MB / 0.7397 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/1.32, allocations: 2.023 MB / 0.7417 GB, free: 97.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003937/1.324, allocations: 5.497 MB / 0.7471 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004731/1.329, allocations: 3.318 MB / 0.7503 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.904e-05/1.329, allocations: 37.16 kB / 0.7503 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01357/1.343, allocations: 7.485 MB / 0.7576 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/1.343, allocations: 63.92 kB / 0.7577 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.343, allocations: 127.9 kB / 0.7578 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/1.345, allocations: 0.9387 MB / 0.7587 GB, free: 91.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/1.349, allocations: 1.341 MB / 0.76 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/1.356, allocations: 5.736 MB / 0.7656 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/1.361, allocations: 221.6 kB / 0.7659 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.363, allocations: 356.9 kB / 0.7662 GB, free: 87.81 MB / 0.4948 GB 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.001079/1.364, allocations: 413 kB / 0.7666 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005698/1.369, allocations: 3.591 MB / 0.7701 GB, free: 86.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008049/1.37, allocations: 296.1 kB / 0.7704 GB, free: 86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005719/1.376, allocations: 3.299 MB / 0.7736 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/1.376, allocations: 19.78 kB / 0.7736 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.376, allocations: 3.781 kB / 0.7736 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/1.376, allocations: 13.94 kB / 0.7736 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/1.389, allocations: 7.664 MB / 0.7811 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.389, allocations: 0 / 0.7811 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.39, allocations: 287.9 kB / 0.7814 GB, free: 81.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/1.392, allocations: 0.7428 MB / 0.7821 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/1.392, allocations: 8.328 kB / 0.7821 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/1.398, allocations: 5.258 MB / 0.7873 GB, free: 78.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.398, allocations: 0 / 0.7873 GB, free: 78.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00733/1.405, allocations: 6.074 MB / 0.7932 GB, free: 73.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.407, allocations: 0.624 MB / 0.7938 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/1.407, allocations: 3.953 kB / 0.7938 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.408, allocations: 85.03 kB / 0.7939 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/1.408, allocations: 95.02 kB / 0.794 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.409, allocations: 51.61 kB / 0.794 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002554/1.411, allocations: 1.846 MB / 0.7958 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.411, allocations: 0 / 0.7958 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005503/1.417, allocations: 0.8007 MB / 0.7966 GB, free: 70.84 MB / 0.4948 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 (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.008322/1.425, allocations: 6.885 MB / 0.8033 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007286/1.432, allocations: 5.021 MB / 0.8082 GB, free: 60.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.432, allocations: 0 / 0.8082 GB, free: 60.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/1.435, allocations: 1.827 MB / 0.81 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.437, allocations: 290.2 kB / 0.8103 GB, free: 58.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.455, allocations: 8.368 MB / 0.8185 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/1.458, allocations: 3.133 MB / 0.8215 GB, free: 48.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004358/1.463, allocations: 1.86 MB / 0.8234 GB, free: 47.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/1.465, allocations: 1.701 MB / 0.825 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of SimCode: time 9.61e-07/1.465, allocations: 0 / 0.825 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.578, allocations: 67.83 MB / 0.8913 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.578, allocations: 167.2 kB / 0.8914 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/5.399, allocations: 0 / 0.8914 GB, free: 14.3 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat