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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 96.55 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000863/0.0008632, allocations: 173.5 kB / 16.58 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.7 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3854/0.3854, allocations: 43.55 MB / 314.6 MB, free: 8.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005479, allocations: 12 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.128, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2911/0.4191, allocations: 37.76 MB / 480.6 MB, free: 28.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02109/0.4403, allocations: 8.738 MB / 489.4 MB, free: 22.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009082/0.4494, allocations: 176.2 kB / 489.5 MB, free: 22.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006696/0.4562, allocations: 1.94 MB / 491.5 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.4737, allocations: 5.876 MB / 497.4 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.4768, allocations: 0.5709 MB / 497.9 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02902/0.5059, allocations: 18.42 MB / 0.5043 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005676/0.5116, allocations: 3.681 MB / 0.5078 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.514, allocations: 1.111 MB / 0.5089 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.5163, allocations: 1.732 MB / 0.5106 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.5168, allocations: 130.6 kB / 0.5107 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.5184, allocations: 0.9217 MB / 0.5116 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.5194, allocations: 1.5 MB / 0.5131 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.5201, allocations: 0.7804 MB / 0.5139 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004252/0.5244, allocations: 5.249 MB / 0.519 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5244, allocations: 0 / 0.519 GB, free: 2.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5244, allocations: 0 / 0.519 GB, free: 2.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001198/0.5245, allocations: 0 / 0.519 GB, free: 2.207 MB / 382.1 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.00721/0.5317, allocations: 3.764 MB / 0.5227 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5318, allocations: 12.03 kB / 0.5227 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.533, allocations: 0.6578 MB / 0.5233 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.5516, allocations: 3.864 MB / 0.5271 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00664/0.5583, allocations: 2.79 MB / 0.5298 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.5586, allocations: 209.3 kB / 0.53 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007253/0.5593, allocations: 275.8 kB / 0.5303 GB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.5742, allocations: 9.209 MB / 0.5393 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.5744, allocations: 43.64 kB / 0.5393 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003592/0.5748, allocations: 135.9 kB / 0.5395 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003051/0.5778, allocations: 1.919 MB / 0.5413 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.5927, allocations: 8.012 MB / 0.5492 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04443/0.6372, allocations: 36.09 MB / 0.5844 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007569/0.6448, allocations: 3.618 MB / 0.5879 GB, free: 9.656 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/0.6475, allocations: 2.005 MB / 0.5899 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004755/0.648, allocations: 332.2 kB / 0.5902 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.648, allocations: 55.5 kB / 0.5903 GB, free: 7.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=156): time 4.178e-06/0.6481, allocations: 0 / 0.5903 GB, free: 7.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=177): time 0.04421/0.6923, allocations: 15.34 MB / 0.6052 GB, free: 7.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6924, allocations: 171.2 kB / 0.6054 GB, free: 7.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008018/0.7005, allocations: 3.633 MB / 0.609 GB, free: 3.875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005387/0.7011, allocations: 53.7 kB / 0.609 GB, free: 3.816 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/0.7041, allocations: 2.827 MB / 0.6118 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.7053, allocations: 0.6671 MB / 0.6124 GB, free: 280 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.7057, allocations: 112 kB / 0.6125 GB, free: 168 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004845/0.7062, allocations: 0.5375 MB / 0.6131 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/0.7112, allocations: 2.154 MB / 0.6152 GB, free: 13.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008628/0.7198, allocations: 5.504 MB / 0.6205 GB, free: 6.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006465/0.7263, allocations: 3.385 MB / 0.6238 GB, free: 2.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/0.7265, allocations: 32 kB / 0.6239 GB, free: 2.863 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.2998/1.026, allocations: 8.235 MB / 0.6319 GB, free: 134.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/1.026, allocations: 55.59 kB / 0.632 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/1.027, allocations: 121.7 kB / 0.6321 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/1.029, allocations: 0.9825 MB / 0.633 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/1.033, allocations: 1.269 MB / 0.6343 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/1.041, allocations: 6.456 MB / 0.6406 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/1.046, allocations: 316 kB / 0.6409 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008367/1.046, allocations: 340.8 kB / 0.6412 GB, free: 132.4 MB / 494.1 MB 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.003609/1.05, allocations: 1.981 MB / 0.6431 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008832/1.051, allocations: 317.1 kB / 0.6434 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/1.057, allocations: 3.55 MB / 0.6469 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/1.057, allocations: 22.98 kB / 0.6469 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/1.057, allocations: 6.906 kB / 0.6469 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/1.057, allocations: 13.97 kB / 0.647 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.072, allocations: 8.663 MB / 0.6554 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.072, allocations: 0.5312 kB / 0.6554 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.074, allocations: 271.5 kB / 0.6557 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/1.076, allocations: 0.8023 MB / 0.6565 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/1.076, allocations: 36.75 kB / 0.6565 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008243/1.084, allocations: 5.988 MB / 0.6623 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.084, allocations: 5.719 kB / 0.6623 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/1.095, allocations: 6.365 MB / 0.6686 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.096, allocations: 0.6634 MB / 0.6692 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/1.097, allocations: 28.28 kB / 0.6692 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.098, allocations: 111.1 kB / 0.6693 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/1.098, allocations: 102.3 kB / 0.6694 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.099, allocations: 47.45 kB / 0.6695 GB, free: 120.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004416/1.103, allocations: 2.274 MB / 0.6717 GB, free: 119.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.103, allocations: 1.219 kB / 0.6717 GB, free: 119.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005453/1.109, allocations: 0.9419 MB / 0.6726 GB, free: 119.4 MB / 494.1 MB 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.009552/1.118, allocations: 7.01 MB / 0.6795 GB, free: 116.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007916/1.126, allocations: 5.252 MB / 0.6846 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.126, allocations: 0 / 0.6846 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.129, allocations: 1.946 MB / 0.6865 GB, free: 113.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.131, allocations: 388.8 kB / 0.6869 GB, free: 113.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05055/1.182, allocations: 32.57 MB / 0.7187 GB, free: 80.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.184, allocations: 3.073 MB / 0.7217 GB, free: 77.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003928/1.188, allocations: 1.808 MB / 0.7234 GB, free: 75.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.19, allocations: 1.733 MB / 0.7251 GB, free: 74.05 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/1.19, allocations: 0 / 0.7251 GB, free: 74.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09902/1.289, allocations: 73.58 MB / 0.797 GB, free: 472 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/1.289, allocations: 229.3 kB / 0.7972 GB, free: 224 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/5.116, allocations: 4 kB / 0.7972 GB, free: 220 kB / 494.1 MB (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) Environment - environmentSimulation: 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