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.001451/0.001451, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001642/0.001642, allocations: 187 kB / 18.71 MB, free: 4.344 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.19 MB / 336.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3394, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01616/0.3556, allocations: 16.85 MB / 0.5349 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3691, allocations: 5.463 MB / 0.5402 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003943/0.3731, allocations: 135.8 kB / 0.5404 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008663/0.3818, allocations: 4.659 MB / 0.5449 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008688/0.3905, allocations: 2.458 MB / 0.5473 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.394, allocations: 1.306 MB / 0.5486 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01206/0.4061, allocations: 8.4 MB / 0.5568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006195/0.4123, allocations: 5.529 MB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.4167, allocations: 2.586 MB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004365/0.421, allocations: 3.194 MB / 0.5678 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.4222, allocations: 0.496 MB / 0.5683 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.425, allocations: 1.288 MB / 0.5696 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002785/0.4278, allocations: 2.884 MB / 0.5724 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.4318, allocations: 3.178 MB / 0.5755 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009789/0.4416, allocations: 9.439 MB / 0.5847 GB, free: 8.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4417, allocations: 0 / 0.5847 GB, free: 8.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4417, allocations: 0 / 0.5847 GB, free: 8.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002109/0.4419, allocations: 0 / 0.5847 GB, free: 8.039 MB / 446.1 MB 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.01838/0.4603, allocations: 7.523 MB / 0.5921 GB, free: 444 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.4604, allocations: 12.03 kB / 0.5921 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00174/0.4621, allocations: 0.7349 MB / 0.5928 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06112/0.5232, allocations: 8.911 MB / 0.6015 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.5388, allocations: 6.77 MB / 0.6081 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.5391, allocations: 325.5 kB / 0.6084 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.5407, allocations: 411.7 kB / 0.6088 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.5637, allocations: 10.75 MB / 0.6193 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002737/0.564, allocations: 63.39 kB / 0.6194 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/0.5652, allocations: 187.9 kB / 0.6195 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003452/0.5686, allocations: 1.714 MB / 0.6212 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.5889, allocations: 9.044 MB / 0.63 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06594/0.6549, allocations: 44.15 MB / 0.6732 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/0.6765, allocations: 7.627 MB / 0.6806 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006771/0.6833, allocations: 5.123 MB / 0.6856 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0205/0.7038, allocations: 12.73 MB / 0.698 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.7039, allocations: 64.72 kB / 0.6981 GB, free: 1.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=283): time 4.097e-06/0.7039, allocations: 0 / 0.6981 GB, free: 1.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=406): time 0.4871/1.191, allocations: 74.54 MB / 0.7709 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01256/1.204, allocations: 11.08 MB / 0.7817 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00526/1.209, allocations: 4.315 MB / 0.7859 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001/1.21, allocations: 93.38 kB / 0.786 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001629/1.212, allocations: 2.968 MB / 0.7889 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/1.213, allocations: 1.402 MB / 0.7903 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/1.215, allocations: 1.135 MB / 0.7914 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.979e-05/1.215, allocations: 309.1 kB / 0.7917 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004968/1.22, allocations: 4.653 MB / 0.7962 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/1.226, allocations: 6.687 MB / 0.8028 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/1.239, allocations: 12.07 MB / 0.8145 GB, free: 89.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.665e-05/1.239, allocations: 20 kB / 0.8146 GB, free: 89.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03217/1.271, allocations: 19.05 MB / 0.8332 GB, free: 69.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/1.271, allocations: 32 kB / 0.8332 GB, free: 69.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.255e-05/1.271, allocations: 68 kB / 0.8333 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02032/1.291, allocations: 8.803 MB / 0.8419 GB, free: 61.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/1.295, allocations: 1.022 MB / 0.8429 GB, free: 60.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05855/1.354, allocations: 54.01 MB / 0.8956 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/1.36, allocations: 495.3 kB / 0.8961 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.361, allocations: 287.8 kB / 0.8963 GB, free: 4.879 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(13,102,46.2%), (3,23,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.004941/1.366, allocations: 2.261 MB / 0.8986 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/1.367, allocations: 481.8 kB / 0.899 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0376/1.405, allocations: 17.96 MB / 0.9166 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03572/1.441, allocations: 16.47 MB / 0.9326 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.9e-05/1.441, allocations: 28 kB / 0.9327 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-05/1.441, allocations: 19.92 kB / 0.9327 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3047/1.746, allocations: 35.09 MB / 0.967 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.292e-05/1.746, allocations: 3.844 kB / 0.967 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.748, allocations: 459.8 kB / 0.9674 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02019/1.768, allocations: 8.639 MB / 0.9758 GB, free: 192.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006854/1.769, allocations: 77.16 kB / 0.9759 GB, free: 192.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05684/1.826, allocations: 52.55 MB / 1.027 GB, free: 144.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01128/1.837, allocations: 9.806 MB / 1.037 GB, free: 134.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03642/1.873, allocations: 24.11 MB / 1.06 GB, free: 110.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.875, allocations: 0.5207 MB / 1.061 GB, free: 110.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001399/1.877, allocations: 68 kB / 1.061 GB, free: 110.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003369/1.88, allocations: 383.4 kB / 1.061 GB, free: 110 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001308/1.881, allocations: 323.9 kB / 1.062 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/1.882, allocations: 104 kB / 1.062 GB, free: 109.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003571/1.885, allocations: 2.836 MB / 1.064 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/1.885, allocations: 0 / 1.064 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006936/1.892, allocations: 1.984 MB / 1.066 GB, free: 104.8 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,97,54.5%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04/1.932, allocations: 24.74 MB / 1.091 GB, free: 80 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01858/1.951, allocations: 12.72 MB / 1.103 GB, free: 67.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.951, allocations: 0 / 1.103 GB, free: 67.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.963, allocations: 7.223 MB / 1.11 GB, free: 59.96 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006903/1.97, allocations: 0.8437 MB / 1.111 GB, free: 59.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4176/2.387, allocations: 80.4 MB / 1.189 GB, free: 206.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005777/2.393, allocations: 4.155 MB / 1.193 GB, free: 205.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004174/2.397, allocations: 1.611 MB / 1.195 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003507/2.401, allocations: 2.619 MB / 1.198 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.303e-06/2.401, allocations: 5.797 kB / 1.198 GB, free: 205.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2437/2.645, allocations: 174.4 MB / 1.368 GB, free: 49.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.7/32.34, allocations: 7.406 kB / 1.368 GB, free: 49.2 MB / 0.6231 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/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