Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.0008084/0.0008084, allocations: 93.45 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 186.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.22 MB / 337.2 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 10.16 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 61.92 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3855/0.5133, allocations: 75.57 MB / 0.5344 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04467/0.558, allocations: 15.75 MB / 0.5498 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02436/0.5824, allocations: 377.9 kB / 0.5501 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01473/0.5972, allocations: 3.807 MB / 0.5539 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03586/0.6331, allocations: 11.38 MB / 0.565 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006841/0.64, allocations: 1.131 MB / 0.5661 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.1609/0.8009, allocations: 119.4 MB / 0.6827 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0138/0.8148, allocations: 7.067 MB / 0.6896 GB, free: 5.223 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/0.8213, allocations: 2.079 MB / 0.6917 GB, free: 3.137 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006478/0.8278, allocations: 2.929 MB / 0.6945 GB, free: 204 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.8294, allocations: 180 kB / 0.6947 GB, free: 24 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.8328, allocations: 0.8584 MB / 0.6955 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003888/0.8367, allocations: 2.466 MB / 0.6979 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.8393, allocations: 1.073 MB / 0.699 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.8504, allocations: 7.357 MB / 0.7062 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8504, allocations: 0 / 0.7062 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8504, allocations: 0 / 0.7062 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004255/0.8508, allocations: 0 / 0.7062 GB, free: 4.234 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.3426/1.193, allocations: 6.374 MB / 0.7124 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/1.194, allocations: 9.438 kB / 0.7124 GB, free: 202.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005576/1.199, allocations: 0.735 MB / 0.7131 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07967/1.279, allocations: 9.002 MB / 0.7219 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/1.294, allocations: 6.48 MB / 0.7282 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004478/1.295, allocations: 326.8 kB / 0.7285 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/1.296, allocations: 418.9 kB / 0.7289 GB, free: 196 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/1.316, allocations: 10.77 MB / 0.7395 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/1.317, allocations: 63.45 kB / 0.7395 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001374/1.318, allocations: 177 kB / 0.7397 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/1.321, allocations: 1.722 MB / 0.7414 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/1.341, allocations: 9.043 MB / 0.7502 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0651/1.406, allocations: 44.41 MB / 0.7936 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/1.427, allocations: 7.673 MB / 0.8011 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/1.433, allocations: 5.111 MB / 0.8061 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0222/1.455, allocations: 12.72 MB / 0.8185 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/1.455, allocations: 60.8 kB / 0.8185 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 8.296e-06/1.455, allocations: 8 kB / 0.8186 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2093/1.664, allocations: 75.6 MB / 0.8924 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01471/1.679, allocations: 10.94 MB / 0.9031 GB, free: 16.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008907/1.688, allocations: 4.291 MB / 0.9073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001359/1.69, allocations: 93.36 kB / 0.9073 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/1.692, allocations: 2.976 MB / 0.9102 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002596/1.695, allocations: 1.394 MB / 0.9116 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/1.696, allocations: 115.8 kB / 0.9117 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004025/1.696, allocations: 0.5337 MB / 0.9122 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00662/1.703, allocations: 4.63 MB / 0.9168 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3201/2.023, allocations: 6.661 MB / 0.9233 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009547/2.033, allocations: 5.594 MB / 0.9287 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.492e-05/2.033, allocations: 15.66 kB / 0.9287 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04062/2.073, allocations: 18.98 MB / 0.9473 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/2.074, allocations: 37.09 kB / 0.9473 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-05/2.074, allocations: 69.59 kB / 0.9474 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02068/2.094, allocations: 8.794 MB / 0.956 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/2.098, allocations: 1.021 MB / 0.957 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05882/2.157, allocations: 50.25 MB / 1.006 GB, free: 122 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007406/2.165, allocations: 0.4916 MB / 1.007 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/2.166, allocations: 283 kB / 1.007 GB, free: 121.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (515): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.004808/2.171, allocations: 2.268 MB / 1.009 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/2.172, allocations: 477.8 kB / 1.009 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03069/2.203, allocations: 17.94 MB / 1.027 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0278/2.231, allocations: 16.44 MB / 1.043 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.242e-05/2.231, allocations: 28 kB / 1.043 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-05/2.231, allocations: 19.92 kB / 1.043 GB, free: 84.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05938/2.29, allocations: 35.29 MB / 1.078 GB, free: 48.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/2.29, allocations: 7.938 kB / 1.078 GB, free: 48.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/2.293, allocations: 467.7 kB / 1.078 GB, free: 48.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02196/2.315, allocations: 8.793 MB / 1.087 GB, free: 39.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001472/2.316, allocations: 71.98 kB / 1.087 GB, free: 39.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3741/2.69, allocations: 48.68 MB / 1.134 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01252/2.703, allocations: 9.743 MB / 1.144 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04004/2.743, allocations: 24.04 MB / 1.167 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/2.745, allocations: 0.5215 MB / 1.168 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/2.747, allocations: 68 kB / 1.168 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003638/2.75, allocations: 390.3 kB / 1.168 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001452/2.752, allocations: 320.2 kB / 1.168 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003526/2.752, allocations: 99.98 kB / 1.169 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004415/2.756, allocations: 2.809 MB / 1.171 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/2.757, allocations: 0 / 1.171 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009094/2.766, allocations: 1.993 MB / 1.173 GB, free: 144.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.03806/2.804, allocations: 24.72 MB / 1.197 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02111/2.825, allocations: 12.61 MB / 1.21 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/2.825, allocations: 0 / 1.21 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01289/2.838, allocations: 7.194 MB / 1.217 GB, free: 99.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008308/2.846, allocations: 0.8101 MB / 1.217 GB, free: 98.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/2.97, allocations: 64.48 MB / 1.28 GB, free: 31.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006004/2.976, allocations: 4.156 MB / 1.285 GB, free: 26.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00634/2.982, allocations: 1.606 MB / 1.286 GB, free: 25.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005169/2.987, allocations: 2.624 MB / 1.289 GB, free: 22.74 MB / 0.5294 GB Notification: Performance of SimCode: time 2.284e-06/2.987, allocations: 0 / 1.289 GB, free: 22.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6515/3.639, allocations: 165.1 MB / 1.45 GB, free: 52.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/3.639, allocations: 241.9 kB / 1.45 GB, free: 52.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.432/9.071, allocations: 0 / 1.45 GB, free: 52.48 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat