Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009536/0.0009536, allocations: 98.77 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009366/0.0009367, allocations: 197.2 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 45.9 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03766/0.1842, allocations: 35.17 MB / 0.5046 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3292/0.5135, allocations: 8.996 MB / 0.5134 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009075/0.5226, allocations: 171.1 kB / 0.5135 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007287/0.5299, allocations: 1.74 MB / 0.5152 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02074/0.5507, allocations: 5.143 MB / 0.5203 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.5538, allocations: 0.5563 MB / 0.5208 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03619/0.59, allocations: 24.74 MB / 0.545 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005268/0.5954, allocations: 3.592 MB / 0.5485 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.5971, allocations: 0.8658 MB / 0.5493 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.5986, allocations: 1.13 MB / 0.5504 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003546/0.599, allocations: 116 kB / 0.5505 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.6008, allocations: 0.8836 MB / 0.5514 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.602, allocations: 1.312 MB / 0.5527 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.6027, allocations: 0.7293 MB / 0.5534 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.6077, allocations: 4.943 MB / 0.5582 GB, free: 7.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6077, allocations: 0 / 0.5582 GB, free: 7.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6077, allocations: 0 / 0.5582 GB, free: 7.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.6079, allocations: 0 / 0.5582 GB, free: 7.09 MB / 398.1 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.009903/0.6178, allocations: 3.719 MB / 0.5618 GB, free: 3.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.6179, allocations: 8.031 kB / 0.5618 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002293/0.6202, allocations: 0.6242 MB / 0.5625 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/0.6441, allocations: 4.909 MB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/0.6511, allocations: 2.363 MB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.6513, allocations: 199.7 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.6525, allocations: 267.6 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.6685, allocations: 8.775 MB / 0.5786 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.6686, allocations: 39.66 kB / 0.5786 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.669, allocations: 132.1 kB / 0.5787 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/0.6721, allocations: 1.8 MB / 0.5805 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.6874, allocations: 7.663 MB / 0.588 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.7361, allocations: 34.5 MB / 0.6217 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/0.743, allocations: 3.115 MB / 0.6247 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004234/0.7435, allocations: 331.7 kB / 0.625 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.7435, allocations: 47.16 kB / 0.6251 GB, free: 1.723 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.549e-06/0.7435, allocations: 0 / 0.6251 GB, free: 1.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.03727/0.7808, allocations: 15.09 MB / 0.6398 GB, free: 2.445 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.781, allocations: 179.2 kB / 0.64 GB, free: 2.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005962/0.7869, allocations: 3.663 MB / 0.6436 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000469/0.7874, allocations: 52.52 kB / 0.6436 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.7897, allocations: 2.699 MB / 0.6462 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009196/0.7906, allocations: 0.6113 MB / 0.6468 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.7908, allocations: 100 kB / 0.6469 GB, free: 11.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003857/0.7912, allocations: 0.5251 MB / 0.6474 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/0.7943, allocations: 2.005 MB / 0.6494 GB, free: 8.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005224/0.7995, allocations: 5.228 MB / 0.6545 GB, free: 1.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.8043, allocations: 3.192 MB / 0.6576 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-05/0.8044, allocations: 36 kB / 0.6577 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01406/0.8185, allocations: 7.793 MB / 0.6653 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.8186, allocations: 56 kB / 0.6653 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/0.8188, allocations: 112 kB / 0.6654 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.8211, allocations: 0.9808 MB / 0.6664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/0.8253, allocations: 1.197 MB / 0.6676 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/0.8345, allocations: 6.639 MB / 0.674 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/0.8394, allocations: 305.9 kB / 0.6743 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009116/0.8404, allocations: 328 kB / 0.6746 GB, free: 12.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,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 (636): * Single equations (assignments): 632 * 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.003959/0.8444, allocations: 1.876 MB / 0.6765 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008165/0.8452, allocations: 315.9 kB / 0.6768 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00601/0.8512, allocations: 3.191 MB / 0.6799 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/0.8512, allocations: 20 kB / 0.6799 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.8513, allocations: 9.625 kB / 0.6799 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.8513, allocations: 7.969 kB / 0.6799 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.8662, allocations: 7.988 MB / 0.6877 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.8662, allocations: 0 / 0.6877 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.8674, allocations: 227.7 kB / 0.6879 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.8694, allocations: 0.8046 MB / 0.6887 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.8696, allocations: 24 kB / 0.6888 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008694/0.8783, allocations: 6.157 MB / 0.6948 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.8783, allocations: 7.953 kB / 0.6948 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008771/0.8871, allocations: 5.861 MB / 0.7005 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.8883, allocations: 377 kB / 0.7009 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/0.8887, allocations: 31.98 kB / 0.7009 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.8899, allocations: 90.45 kB / 0.701 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.8902, allocations: 88.81 kB / 0.7011 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.8904, allocations: 40 kB / 0.7011 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003683/0.8941, allocations: 2.307 MB / 0.7034 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.773e-06/0.8941, allocations: 4 kB / 0.7034 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004956/0.899, allocations: 0.9 MB / 0.7042 GB, free: 14.4 MB / 0.545 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 (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.009246/0.9083, allocations: 6.684 MB / 0.7108 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00837/0.9167, allocations: 4.866 MB / 0.7155 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.9167, allocations: 0 / 0.7155 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/0.9197, allocations: 1.76 MB / 0.7172 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.922, allocations: 363 kB / 0.7176 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3675/1.29, allocations: 109.4 MB / 0.8244 GB, free: 103.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.292, allocations: 3.001 MB / 0.8273 GB, free: 102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003955/1.296, allocations: 1.723 MB / 0.829 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/1.298, allocations: 1.605 MB / 0.8306 GB, free: 100.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.298, allocations: 0 / 0.8306 GB, free: 100.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.4, allocations: 70.44 MB / 0.8994 GB, free: 32.46 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/1.4, allocations: 219.8 kB / 0.8996 GB, free: 32.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/5.433, allocations: 2.5 kB / 0.8996 GB, free: 32.23 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat