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.00163/0.00163, allocations: 182.7 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001152/0.001152, allocations: 97.47 kB / 270.9 MB, free: 8.355 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.5388/0.5388, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005492, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.4026/0.5443, allocations: 35.69 MB / 0.5137 GB, free: 25.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02528/0.5696, allocations: 9.075 MB / 0.5225 GB, free: 18.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009098/0.5788, allocations: 172.5 kB / 0.5227 GB, free: 18.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006928/0.5858, allocations: 1.751 MB / 0.5244 GB, free: 18.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0206/0.6064, allocations: 5.207 MB / 0.5295 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.6102, allocations: 0.5619 MB / 0.53 GB, free: 15.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03447/0.6447, allocations: 13.91 MB / 0.5436 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008646/0.6534, allocations: 3.668 MB / 0.5472 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.6564, allocations: 0.9026 MB / 0.5481 GB, free: 9.949 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/0.66, allocations: 1.219 MB / 0.5493 GB, free: 9.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.6613, allocations: 130.6 kB / 0.5494 GB, free: 9.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.6648, allocations: 0.8967 MB / 0.5503 GB, free: 9.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003071/0.6679, allocations: 1.393 MB / 0.5516 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.6698, allocations: 0.7762 MB / 0.5524 GB, free: 8.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009026/0.6789, allocations: 5.241 MB / 0.5575 GB, free: 5.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6789, allocations: 0 / 0.5575 GB, free: 5.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.679, allocations: 0 / 0.5575 GB, free: 5.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002572/0.6792, allocations: 0 / 0.5575 GB, free: 5.25 MB / 378.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.01375/0.693, allocations: 3.878 MB / 0.5613 GB, free: 1.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6931, allocations: 12.03 kB / 0.5613 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002238/0.6953, allocations: 0.6539 MB / 0.562 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05002/0.7454, allocations: 4.937 MB / 0.5668 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/0.7544, allocations: 2.601 MB / 0.5693 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.7548, allocations: 201.3 kB / 0.5695 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.7564, allocations: 275.8 kB / 0.5698 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/0.7832, allocations: 9.295 MB / 0.5788 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/0.7835, allocations: 35.66 kB / 0.5789 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009518/0.7845, allocations: 139.8 kB / 0.579 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006544/0.791, allocations: 1.911 MB / 0.5809 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/0.8179, allocations: 8.11 MB / 0.5888 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07264/0.8906, allocations: 36.17 MB / 0.6241 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/0.9051, allocations: 3.712 MB / 0.6277 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.9058, allocations: 340.2 kB / 0.6281 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.9059, allocations: 47.61 kB / 0.6281 GB, free: 11.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 4.799e-06/0.9059, allocations: 3.938 kB / 0.6281 GB, free: 11.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.07066/0.9766, allocations: 16.02 MB / 0.6438 GB, free: 11.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.9768, allocations: 179.2 kB / 0.6439 GB, free: 10.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009502/0.9863, allocations: 3.754 MB / 0.6476 GB, free: 7.152 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005669/0.9869, allocations: 49.61 kB / 0.6476 GB, free: 7.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003471/0.9904, allocations: 2.756 MB / 0.6503 GB, free: 4.309 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001874/0.9924, allocations: 0.6826 MB / 0.651 GB, free: 3.617 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.9935, allocations: 108 kB / 0.6511 GB, free: 3.512 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006629/0.9942, allocations: 0.5422 MB / 0.6516 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006865/1.001, allocations: 2.162 MB / 0.6538 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.012, allocations: 5.481 MB / 0.6591 GB, free: 9.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009302/1.021, allocations: 3.396 MB / 0.6624 GB, free: 6.242 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/1.021, allocations: 35.98 kB / 0.6625 GB, free: 6.207 MB / 490.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02599/1.047, allocations: 8.114 MB / 0.6704 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.047, allocations: 56 kB / 0.6704 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/1.048, allocations: 124.2 kB / 0.6705 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/1.052, allocations: 0.9881 MB / 0.6715 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008318/1.061, allocations: 1.259 MB / 0.6727 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/1.076, allocations: 6.634 MB / 0.6792 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/1.083, allocations: 323.3 kB / 0.6795 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.084, allocations: 340 kB / 0.6799 GB, free: 4.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 (671): * Single equations (assignments): 667 * 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.006025/1.09, allocations: 1.977 MB / 0.6818 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009935/1.091, allocations: 315.9 kB / 0.6821 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4602/1.551, allocations: 3.551 MB / 0.6856 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.793e-05/1.552, allocations: 20.31 kB / 0.6856 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/1.552, allocations: 9.188 kB / 0.6856 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/1.552, allocations: 8.328 kB / 0.6856 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04137/1.593, allocations: 8.662 MB / 0.6941 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/1.593, allocations: 0 / 0.6941 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004251/1.598, allocations: 270.4 kB / 0.6943 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005968/1.604, allocations: 0.808 MB / 0.6951 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007152/1.604, allocations: 38.31 kB / 0.6951 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/1.625, allocations: 6.15 MB / 0.7011 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.625, allocations: 0 / 0.7011 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02443/1.649, allocations: 6.448 MB / 0.7074 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/1.653, allocations: 0.6755 MB / 0.7081 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/1.655, allocations: 22.09 kB / 0.7081 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004581/1.659, allocations: 112.8 kB / 0.7082 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.66, allocations: 100.2 kB / 0.7083 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/1.661, allocations: 50.22 kB / 0.7084 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008687/1.669, allocations: 2.373 MB / 0.7107 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.102e-06/1.669, allocations: 0 / 0.7107 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01061/1.68, allocations: 0.954 MB / 0.7116 GB, free: 138.4 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.02625/1.706, allocations: 7.269 MB / 0.7187 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01969/1.726, allocations: 5.249 MB / 0.7238 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.726, allocations: 0.8125 kB / 0.7238 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00922/1.735, allocations: 1.94 MB / 0.7257 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00499/1.741, allocations: 367.2 kB / 0.7261 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1571/1.898, allocations: 113.9 MB / 0.8373 GB, free: 28.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01013/1.908, allocations: 3.145 MB / 0.8404 GB, free: 26.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006603/1.915, allocations: 1.776 MB / 0.8421 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of SimCode: time 2.314e-06/1.915, allocations: 0 / 0.8421 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.735/6.65, allocations: 93.55 MB / 0.9335 GB, free: 143.4 MB / 0.5105 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