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.0008669/0.0008669, allocations: 94.77 kB / 17 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.0009365/0.0009369, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3684/0.4939, allocations: 37.19 MB / 0.5067 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.5153, allocations: 8.682 MB / 0.5151 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00945/0.5248, allocations: 173.5 kB / 0.5153 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008987/0.5338, allocations: 1.928 MB / 0.5172 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02301/0.5568, allocations: 5.792 MB / 0.5229 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.5614, allocations: 0.5718 MB / 0.5234 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0424/0.6039, allocations: 31.89 MB / 0.5546 GB, free: 8.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006157/0.6101, allocations: 3.607 MB / 0.5581 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.6123, allocations: 1.043 MB / 0.5591 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.6146, allocations: 1.621 MB / 0.5607 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004705/0.6151, allocations: 120 kB / 0.5608 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.6172, allocations: 0.904 MB / 0.5617 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.6189, allocations: 1.417 MB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.6199, allocations: 0.7247 MB / 0.5638 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005868/0.6258, allocations: 4.95 MB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.6258, allocations: 0 / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6258, allocations: 3.938 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001647/0.626, allocations: 0 / 0.5686 GB, free: 12.85 MB / 414.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.008085/0.6341, allocations: 3.607 MB / 0.5721 GB, free: 9.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6342, allocations: 12.03 kB / 0.5721 GB, free: 9.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00175/0.6359, allocations: 0.6216 MB / 0.5727 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01894/0.6549, allocations: 3.833 MB / 0.5765 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/0.6607, allocations: 2.467 MB / 0.5789 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.661, allocations: 197.7 kB / 0.5791 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009969/0.662, allocations: 268.1 kB / 0.5793 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.6769, allocations: 8.692 MB / 0.5878 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.677, allocations: 47.58 kB / 0.5879 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.6774, allocations: 128.1 kB / 0.588 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002963/0.6804, allocations: 1.804 MB / 0.5898 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.6948, allocations: 7.556 MB / 0.5971 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04216/0.737, allocations: 34.44 MB / 0.6308 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/0.7434, allocations: 3.017 MB / 0.6337 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.7457, allocations: 1.844 MB / 0.6355 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003748/0.7461, allocations: 330.2 kB / 0.6358 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.7461, allocations: 52.8 kB / 0.6359 GB, free: 7.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 3.516e-06/0.7461, allocations: 0 / 0.6359 GB, free: 7.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.03539/0.7815, allocations: 14.41 MB / 0.65 GB, free: 8.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.7817, allocations: 176.8 kB / 0.6501 GB, free: 8.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005977/0.7877, allocations: 3.54 MB / 0.6536 GB, free: 4.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003358/0.7881, allocations: 47.23 kB / 0.6536 GB, free: 4.879 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.7905, allocations: 2.707 MB / 0.6563 GB, free: 2.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/0.7913, allocations: 0.6071 MB / 0.6569 GB, free: 1.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.7915, allocations: 100 kB / 0.657 GB, free: 1.484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004052/0.792, allocations: 0.5251 MB / 0.6575 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/0.7955, allocations: 1.999 MB / 0.6594 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/0.8019, allocations: 5.251 MB / 0.6646 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/0.8072, allocations: 3.191 MB / 0.6677 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-05/0.8073, allocations: 32 kB / 0.6677 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01624/0.8235, allocations: 7.803 MB / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.8237, allocations: 56 kB / 0.6754 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/0.8238, allocations: 116 kB / 0.6755 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.8262, allocations: 0.986 MB / 0.6764 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/0.8304, allocations: 1.193 MB / 0.6776 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008869/0.8393, allocations: 6.452 MB / 0.6839 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/0.8436, allocations: 299.5 kB / 0.6842 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006871/0.8443, allocations: 328 kB / 0.6845 GB, free: 3.484 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.003297/0.8476, allocations: 1.876 MB / 0.6863 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.8482, allocations: 313.7 kB / 0.6866 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/0.8539, allocations: 3.2 MB / 0.6898 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.8539, allocations: 18.34 kB / 0.6898 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.854, allocations: 4 kB / 0.6898 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.854, allocations: 15.95 kB / 0.6898 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.8679, allocations: 7.98 MB / 0.6976 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8679, allocations: 0 / 0.6976 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.869, allocations: 227.6 kB / 0.6978 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.871, allocations: 0.8007 MB / 0.6986 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.8711, allocations: 24 kB / 0.6986 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008016/0.8792, allocations: 5.979 MB / 0.7045 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8792, allocations: 3.938 kB / 0.7045 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008794/0.888, allocations: 5.792 MB / 0.7101 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.8893, allocations: 371.3 kB / 0.7105 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/0.8896, allocations: 27.98 kB / 0.7105 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.8908, allocations: 91.88 kB / 0.7106 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.8911, allocations: 95.62 kB / 0.7107 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.8912, allocations: 39.94 kB / 0.7107 GB, free: 8.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003816/0.895, allocations: 2.214 MB / 0.7129 GB, free: 6.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8951, allocations: 0 / 0.7129 GB, free: 6.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00438/0.8994, allocations: 0.8789 MB / 0.7137 GB, free: 5.324 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.3096/1.209, allocations: 6.435 MB / 0.72 GB, free: 195.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00894/1.218, allocations: 4.853 MB / 0.7248 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.218, allocations: 0 / 0.7248 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002866/1.221, allocations: 1.769 MB / 0.7265 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.223, allocations: 376.5 kB / 0.7268 GB, free: 194.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05334/1.277, allocations: 30.7 MB / 0.7568 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/1.28, allocations: 2.931 MB / 0.7597 GB, free: 174 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003741/1.283, allocations: 1.718 MB / 0.7614 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.285, allocations: 1.598 MB / 0.7629 GB, free: 172.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.285, allocations: 3.938 kB / 0.7629 GB, free: 172.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09394/1.379, allocations: 69.83 MB / 0.8311 GB, free: 103.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.379, allocations: 229 kB / 0.8313 GB, free: 103.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/5.581, allocations: 0 / 0.8313 GB, free: 103.3 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