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.0008892/0.0008928, allocations: 95.89 kB / 15.68 MB, free: 488 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.0009867/0.0009866, allocations: 175.5 kB / 16.56 MB, free: 6.379 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.63/1.63, allocations: 205.4 MB / 222.7 MB, free: 5.621 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.3733/0.3733, allocations: 43.54 MB / 314.5 MB, free: 8.816 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.0008446/0.0008449, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1449, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2718/0.4168, allocations: 35.69 MB / 478.5 MB, free: 29.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.4375, allocations: 9.076 MB / 487.6 MB, free: 23.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009481/0.447, allocations: 175.8 kB / 487.8 MB, free: 23.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007031/0.4541, allocations: 1.75 MB / 489.5 MB, free: 22.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01959/0.4737, allocations: 5.205 MB / 494.7 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.4768, allocations: 0.5697 MB / 495.3 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02432/0.5011, allocations: 13.9 MB / 0.4973 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007225/0.5084, allocations: 3.651 MB / 0.5008 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.5107, allocations: 0.9145 MB / 0.5017 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.5131, allocations: 1.215 MB / 0.5029 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006226/0.5137, allocations: 143.2 kB / 0.503 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.5161, allocations: 0.8933 MB / 0.5039 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.5179, allocations: 1.398 MB / 0.5053 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009798/0.5189, allocations: 0.7759 MB / 0.506 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005761/0.5247, allocations: 5.235 MB / 0.5112 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5247, allocations: 0 / 0.5112 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5247, allocations: 0 / 0.5112 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001892/0.5249, allocations: 4 kB / 0.5112 GB, free: 9.34 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.01011/0.535, allocations: 3.879 MB / 0.5149 GB, free: 6.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5351, allocations: 12.03 kB / 0.515 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001647/0.5368, allocations: 0.6539 MB / 0.5156 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/0.5601, allocations: 4.941 MB / 0.5204 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.5674, allocations: 2.583 MB / 0.5229 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.5676, allocations: 213.3 kB / 0.5231 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007917/0.5684, allocations: 275.8 kB / 0.5234 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.5856, allocations: 9.291 MB / 0.5325 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.5857, allocations: 35.66 kB / 0.5325 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000396/0.5861, allocations: 135.9 kB / 0.5326 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/0.5898, allocations: 1.927 MB / 0.5345 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.6069, allocations: 8.106 MB / 0.5424 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05402/0.6609, allocations: 36.17 MB / 0.5778 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008458/0.6694, allocations: 3.704 MB / 0.5814 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004699/0.67, allocations: 332.2 kB / 0.5817 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.331e-05/0.6701, allocations: 55.48 kB / 0.5818 GB, free: 15.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=156): time 4.659e-06/0.6701, allocations: 3.938 kB / 0.5818 GB, free: 15.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=177): time 0.0423/0.7124, allocations: 16.02 MB / 0.5974 GB, free: 15.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.7126, allocations: 175.2 kB / 0.5976 GB, free: 15.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005725/0.7183, allocations: 3.754 MB / 0.6012 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004834/0.7188, allocations: 57.61 kB / 0.6013 GB, free: 11.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002538/0.7213, allocations: 2.815 MB / 0.604 GB, free: 8.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.7226, allocations: 0.6826 MB / 0.6047 GB, free: 7.871 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.7229, allocations: 108 kB / 0.6048 GB, free: 7.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003688/0.7232, allocations: 0.5414 MB / 0.6053 GB, free: 7.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/0.7269, allocations: 2.158 MB / 0.6074 GB, free: 5.055 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005908/0.7328, allocations: 5.477 MB / 0.6128 GB, free: 13.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005583/0.7384, allocations: 3.393 MB / 0.6161 GB, free: 10.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.596e-05/0.7385, allocations: 36 kB / 0.6161 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01577/0.7543, allocations: 8.229 MB / 0.6242 GB, free: 2.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/0.7544, allocations: 52 kB / 0.6242 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/0.7545, allocations: 120 kB / 0.6243 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.7569, allocations: 0.9884 MB / 0.6253 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2933/1.05, allocations: 1.262 MB / 0.6265 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008082/1.058, allocations: 6.626 MB / 0.633 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.063, allocations: 320.2 kB / 0.6333 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000923/1.064, allocations: 347.1 kB / 0.6336 GB, free: 131.8 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.003979/1.068, allocations: 1.972 MB / 0.6356 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/1.069, allocations: 314.8 kB / 0.6359 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/1.075, allocations: 3.555 MB / 0.6393 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/1.075, allocations: 20.34 kB / 0.6394 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/1.075, allocations: 7 kB / 0.6394 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.075, allocations: 10.08 kB / 0.6394 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/1.09, allocations: 8.669 MB / 0.6478 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/1.09, allocations: 3 kB / 0.6479 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.092, allocations: 275.7 kB / 0.6481 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/1.094, allocations: 0.8003 MB / 0.6489 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/1.094, allocations: 32.31 kB / 0.6489 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008572/1.103, allocations: 6.156 MB / 0.6549 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.103, allocations: 8.234 kB / 0.6549 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/1.116, allocations: 6.446 MB / 0.6612 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/1.119, allocations: 0.6798 MB / 0.6619 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006178/1.12, allocations: 28.27 kB / 0.6619 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.121, allocations: 106 kB / 0.662 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/1.122, allocations: 93.98 kB / 0.6621 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.122, allocations: 48.77 kB / 0.6622 GB, free: 120.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005028/1.127, allocations: 2.37 MB / 0.6645 GB, free: 119.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.127, allocations: 3.391 kB / 0.6645 GB, free: 119.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007363/1.134, allocations: 0.9566 MB / 0.6654 GB, free: 119.7 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.01267/1.147, allocations: 7.272 MB / 0.6725 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0119/1.159, allocations: 5.248 MB / 0.6776 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/1.159, allocations: 0 / 0.6776 GB, free: 114.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004032/1.163, allocations: 1.939 MB / 0.6795 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.166, allocations: 365.1 kB / 0.6799 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0944/1.261, allocations: 113.4 MB / 0.7907 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/1.264, allocations: 3.144 MB / 0.7937 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005084/1.269, allocations: 1.809 MB / 0.7955 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/1.272, allocations: 1.737 MB / 0.7972 GB, free: 28 kB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/1.272, allocations: 0 / 0.7972 GB, free: 28 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4236/1.695, allocations: 74.29 MB / 0.8697 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/1.695, allocations: 219.6 kB / 0.8699 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.49/6.185, allocations: 0 / 0.8699 GB, free: 129.1 MB / 0.4981 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) 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