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.00181/0.00181, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000971/0.000971, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2398/0.2398, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.6124, allocations: 105.7 MB / 0.5821 GB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.6128, allocations: 82.58 kB / 0.5822 GB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2189/0.8317, allocations: 80.83 MB / 0.6611 GB, free: 1.301 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.8318, allocations: 0 / 0.6611 GB, free: 1.301 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002153/0.832, allocations: 83.92 kB / 0.6612 GB, free: 1.219 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.01474/0.8468, allocations: 4.031 MB / 0.6651 GB, free: 13.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.8468, allocations: 8.031 kB / 0.6651 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002911/0.8498, allocations: 0.7047 MB / 0.6658 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.8671, allocations: 4.281 MB / 0.67 GB, free: 8.109 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.8819, allocations: 4.545 MB / 0.6744 GB, free: 3.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.8823, allocations: 287.5 kB / 0.6747 GB, free: 3.219 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/0.8844, allocations: 379.8 kB / 0.6751 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/0.9086, allocations: 9.641 MB / 0.6845 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/0.9089, allocations: 55.47 kB / 0.6845 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.9099, allocations: 187.9 kB / 0.6847 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001379/0.9113, allocations: 0.9434 MB / 0.6856 GB, free: 7.094 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.9287, allocations: 8.132 MB / 0.6936 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3575/1.286, allocations: 43.78 MB / 0.7363 GB, free: 94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008758/1.295, allocations: 3.688 MB / 0.7399 GB, free: 93.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/1.296, allocations: 336.9 kB / 0.7402 GB, free: 93.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/1.296, allocations: 53.86 kB / 0.7403 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=156): time 6.692e-06/1.296, allocations: 5 kB / 0.7403 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=177): time 0.03728/1.333, allocations: 15.23 MB / 0.7552 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/1.333, allocations: 180.3 kB / 0.7553 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006966/1.34, allocations: 3.24 MB / 0.7585 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000512/1.341, allocations: 50.64 kB / 0.7586 GB, free: 89.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.343, allocations: 2.832 MB / 0.7613 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.344, allocations: 0.6808 MB / 0.762 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/1.344, allocations: 105.6 kB / 0.7621 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003744/1.345, allocations: 0.5383 MB / 0.7626 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004239/1.349, allocations: 2.133 MB / 0.7647 GB, free: 87.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006107/1.355, allocations: 5.46 MB / 0.77 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/1.36, allocations: 3.357 MB / 0.7733 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.412e-05/1.36, allocations: 32.66 kB / 0.7733 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01536/1.376, allocations: 8.149 MB / 0.7813 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.376, allocations: 65.02 kB / 0.7814 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002507/1.376, allocations: 118.2 kB / 0.7815 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/1.379, allocations: 0.9339 MB / 0.7824 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/1.383, allocations: 1.279 MB / 0.7836 GB, free: 79.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/1.39, allocations: 6.263 MB / 0.7898 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/1.395, allocations: 321.4 kB / 0.7901 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.397, allocations: 344.7 kB / 0.7904 GB, free: 76.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (673): * Single equations (assignments): 669 * 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.005508/1.402, allocations: 1.964 MB / 0.7923 GB, free: 75.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.403, allocations: 321.5 kB / 0.7926 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.41, allocations: 3.46 MB / 0.796 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.187e-05/1.411, allocations: 19.38 kB / 0.796 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/1.411, allocations: 11.06 kB / 0.796 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/1.411, allocations: 7.219 kB / 0.796 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.431, allocations: 8.502 MB / 0.8043 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.431, allocations: 3.812 kB / 0.8043 GB, free: 70.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.433, allocations: 282.2 kB / 0.8046 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/1.435, allocations: 0.7527 MB / 0.8053 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/1.435, allocations: 36.39 kB / 0.8054 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007094/1.442, allocations: 5.798 MB / 0.811 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.442, allocations: 3.625 kB / 0.811 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008925/1.451, allocations: 6.283 MB / 0.8172 GB, free: 62.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/1.454, allocations: 0.6619 MB / 0.8178 GB, free: 61.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.455, allocations: 31.7 kB / 0.8179 GB, free: 61.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.457, allocations: 104.2 kB / 0.818 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/1.457, allocations: 95.86 kB / 0.818 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.457, allocations: 51.89 kB / 0.8181 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005346/1.463, allocations: 2.264 MB / 0.8203 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.463, allocations: 0 / 0.8203 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006401/1.469, allocations: 0.9364 MB / 0.8212 GB, free: 58.89 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 () * Number of clocked 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.00909/1.478, allocations: 7.101 MB / 0.8282 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008085/1.486, allocations: 5.17 MB / 0.8332 GB, free: 47.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.486, allocations: 8.062 kB / 0.8332 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003258/1.49, allocations: 1.898 MB / 0.8351 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/1.493, allocations: 367.1 kB / 0.8354 GB, free: 46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3134/1.807, allocations: 113.1 MB / 0.9459 GB, free: 123 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004587/1.811, allocations: 3.146 MB / 0.949 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005235/1.817, allocations: 1.814 MB / 0.9508 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/1.819, allocations: 1.711 MB / 0.9524 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.934e-06/1.819, allocations: 0 / 0.9524 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/1.939, allocations: 73.27 MB / 1.024 GB, free: 87.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.939, allocations: 218.7 kB / 1.024 GB, free: 87.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/6.146, allocations: 4 kB / 1.024 GB, free: 87.33 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