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.001105/0.001105, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001199/0.001199, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.366/1.366, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2117/0.2117, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.14 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1197, allocations: 60.81 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01997/0.1398, allocations: 16.85 MB / 486.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.153, allocations: 5.471 MB / 491.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.1569, allocations: 131.6 kB / 491.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008715/0.1656, allocations: 4.661 MB / 496.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007195/0.1729, allocations: 2.451 MB / 498.9 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.176, allocations: 1.318 MB / 0.4885 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.1883, allocations: 8.398 MB / 0.4967 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007748/0.1961, allocations: 5.529 MB / 0.5021 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.265/0.4611, allocations: 2.561 MB / 0.5046 GB, free: 19.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007715/0.4689, allocations: 3.193 MB / 0.5077 GB, free: 19.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003067/0.472, allocations: 0.4934 MB / 0.5082 GB, free: 19.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/0.4769, allocations: 1.277 MB / 0.5095 GB, free: 19.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005003/0.482, allocations: 2.843 MB / 0.5122 GB, free: 18.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008847/0.4908, allocations: 3.17 MB / 0.5153 GB, free: 17.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.505, allocations: 9.284 MB / 0.5244 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.5051, allocations: 0.5938 kB / 0.5244 GB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5051, allocations: 1.375 kB / 0.5244 GB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004563/0.5056, allocations: 0.8125 kB / 0.5244 GB, free: 15.8 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02514/0.5307, allocations: 7.514 MB / 0.5317 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.5308, allocations: 9.469 kB / 0.5317 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002242/0.5331, allocations: 0.7369 MB / 0.5325 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06478/0.5978, allocations: 8.911 MB / 0.5412 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.6126, allocations: 6.624 MB / 0.5476 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.6129, allocations: 319.2 kB / 0.5479 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.6146, allocations: 418 kB / 0.5483 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.6406, allocations: 10.76 MB / 0.5588 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004208/0.641, allocations: 58.89 kB / 0.5589 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/0.6428, allocations: 181.9 kB / 0.5591 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/0.6468, allocations: 1.725 MB / 0.5608 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.6716, allocations: 9.027 MB / 0.5696 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07406/0.7457, allocations: 44.4 MB / 0.6129 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/0.7686, allocations: 7.631 MB / 0.6204 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006771/0.7754, allocations: 5.122 MB / 0.6254 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02207/0.7975, allocations: 12.72 MB / 0.6378 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.7976, allocations: 68.53 kB / 0.6379 GB, free: 3.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=283): time 5.781e-06/0.7977, allocations: 5.031 kB / 0.6379 GB, free: 3.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=406): time 0.4896/1.287, allocations: 74.58 MB / 0.7107 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01726/1.305, allocations: 11.11 MB / 0.7216 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005848/1.31, allocations: 4.317 MB / 0.7258 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/1.312, allocations: 95.53 kB / 0.7259 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.313, allocations: 2.966 MB / 0.7288 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.315, allocations: 1.401 MB / 0.7301 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/1.317, allocations: 1.136 MB / 0.7312 GB, free: 178 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/1.317, allocations: 304.8 kB / 0.7315 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/1.323, allocations: 4.65 MB / 0.7361 GB, free: 176 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/1.329, allocations: 6.682 MB / 0.7426 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/1.342, allocations: 12.08 MB / 0.7544 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.851e-05/1.342, allocations: 16 kB / 0.7544 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03551/1.378, allocations: 19.03 MB / 0.773 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/1.378, allocations: 32 kB / 0.773 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/1.378, allocations: 68.84 kB / 0.7731 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02277/1.401, allocations: 8.837 MB / 0.7817 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/1.405, allocations: 1.018 MB / 0.7827 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06399/1.469, allocations: 54.03 MB / 0.8355 GB, free: 78.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/1.476, allocations: 496 kB / 0.8359 GB, free: 78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.478, allocations: 281.2 kB / 0.8362 GB, free: 77.73 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 (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.005321/1.483, allocations: 2.273 MB / 0.8384 GB, free: 75.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.485, allocations: 481.8 kB / 0.8389 GB, free: 74.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0337/1.518, allocations: 17.95 MB / 0.8564 GB, free: 56.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0323/1.551, allocations: 16.48 MB / 0.8725 GB, free: 40.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.15e-05/1.551, allocations: 28 kB / 0.8725 GB, free: 40.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.642e-05/1.551, allocations: 15.94 kB / 0.8726 GB, free: 40.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3733/1.924, allocations: 35.28 MB / 0.907 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.891e-05/1.924, allocations: 5.047 kB / 0.907 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/1.928, allocations: 458.8 kB / 0.9075 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02571/1.953, allocations: 8.674 MB / 0.9159 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001407/1.955, allocations: 78.06 kB / 0.916 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06285/2.018, allocations: 52.53 MB / 0.9673 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01258/2.03, allocations: 9.827 MB / 0.9769 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03758/2.068, allocations: 24.08 MB / 1 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/2.069, allocations: 0.5163 MB / 1.001 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001531/2.071, allocations: 75.94 kB / 1.001 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/2.075, allocations: 379.9 kB / 1.001 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001608/2.077, allocations: 328.1 kB / 1.002 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003428/2.077, allocations: 96 kB / 1.002 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004119/2.081, allocations: 2.84 MB / 1.005 GB, free: 103 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/2.081, allocations: 0 / 1.005 GB, free: 103 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00868/2.09, allocations: 1.993 MB / 1.006 GB, free: 101 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 (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.03927/2.129, allocations: 24.74 MB / 1.031 GB, free: 76.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0296/2.159, allocations: 19.07 MB / 1.049 GB, free: 57.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.159, allocations: 0 / 1.049 GB, free: 57.05 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01217/2.171, allocations: 7.22 MB / 1.056 GB, free: 49.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/2.176, allocations: 0.846 MB / 1.057 GB, free: 48.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4037/2.58, allocations: 91.75 MB / 1.147 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004592/2.585, allocations: 4.152 MB / 1.151 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004222/2.589, allocations: 1.602 MB / 1.152 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003339/2.592, allocations: 2.624 MB / 1.155 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/2.592, allocations: 0 / 1.155 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5347/3.127, allocations: 173.2 MB / 1.324 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/18.56, allocations: 4.188 kB / 1.324 GB, free: 170.7 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/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