Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001327, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3168, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01816/0.335, allocations: 16.81 MB / 0.5469 GB, free: 188 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.3482, allocations: 5.48 MB / 0.5523 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00382/0.3521, allocations: 131.6 kB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008411/0.3606, allocations: 4.653 MB / 0.557 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007026/0.3676, allocations: 2.415 MB / 0.5593 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.3707, allocations: 1.307 MB / 0.5606 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.3826, allocations: 8.637 MB / 0.569 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.3893, allocations: 5.525 MB / 0.5744 GB, free: 4.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.3935, allocations: 2.575 MB / 0.5769 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.3983, allocations: 3.206 MB / 0.5801 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.3996, allocations: 0.4922 MB / 0.5805 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.4031, allocations: 1.256 MB / 0.5818 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00321/0.4063, allocations: 2.88 MB / 0.5846 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00395/0.4103, allocations: 3.159 MB / 0.5877 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.4215, allocations: 9.419 MB / 0.5969 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4216, allocations: 0 / 0.5969 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4216, allocations: 0 / 0.5969 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002734/0.4219, allocations: 0 / 0.5969 GB, free: 13.62 MB / 462.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.02005/0.4419, allocations: 7.539 MB / 0.6042 GB, free: 5.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.442, allocations: 12.03 kB / 0.6042 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001856/0.4439, allocations: 0.7349 MB / 0.605 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06961/0.5135, allocations: 8.911 MB / 0.6137 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.5284, allocations: 6.341 MB / 0.6199 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.5288, allocations: 325.5 kB / 0.6202 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.5303, allocations: 411.6 kB / 0.6206 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/0.5539, allocations: 10.76 MB / 0.6311 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/0.5542, allocations: 63.39 kB / 0.6311 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009095/0.5551, allocations: 179.9 kB / 0.6313 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0034/0.5585, allocations: 1.725 MB / 0.633 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.5784, allocations: 9.028 MB / 0.6418 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07019/0.6486, allocations: 44.14 MB / 0.6849 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02892/0.6776, allocations: 7.644 MB / 0.6924 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0106/0.6883, allocations: 5.123 MB / 0.6974 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03064/0.7189, allocations: 12.7 MB / 0.7098 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.816e-05/0.7191, allocations: 76.72 kB / 0.7098 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 5.671e-06/0.7191, allocations: 0 / 0.7098 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.4781/1.197, allocations: 74.54 MB / 0.7826 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01349/1.211, allocations: 11.09 MB / 0.7935 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/1.216, allocations: 4.314 MB / 0.7977 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009182/1.217, allocations: 93.53 kB / 0.7978 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.218, allocations: 2.963 MB / 0.8007 GB, free: 97.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.22, allocations: 1.402 MB / 0.802 GB, free: 96.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/1.222, allocations: 1.135 MB / 0.8031 GB, free: 95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.697e-05/1.222, allocations: 305.2 kB / 0.8034 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/1.227, allocations: 4.657 MB / 0.808 GB, free: 90.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/1.233, allocations: 6.679 MB / 0.8145 GB, free: 82.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.246, allocations: 12.07 MB / 0.8263 GB, free: 69.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/1.246, allocations: 16 kB / 0.8263 GB, free: 69.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03599/1.282, allocations: 19.03 MB / 0.8449 GB, free: 50.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/1.282, allocations: 32 kB / 0.8449 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-05/1.282, allocations: 67.94 kB / 0.845 GB, free: 50.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/1.305, allocations: 8.81 MB / 0.8536 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/1.309, allocations: 1.018 MB / 0.8546 GB, free: 40.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06741/1.377, allocations: 54.01 MB / 0.9073 GB, free: 1.984 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/1.383, allocations: 495.3 kB / 0.9078 GB, free: 1.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.384, allocations: 287.6 kB / 0.9081 GB, free: 1.223 MB / 0.5763 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.004604/1.388, allocations: 2.265 MB / 0.9103 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.39, allocations: 478 kB / 0.9108 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03908/1.429, allocations: 17.97 MB / 0.9283 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03599/1.465, allocations: 16.47 MB / 0.9444 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001431/1.465, allocations: 28 kB / 0.9444 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001458/1.465, allocations: 19.92 kB / 0.9444 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3174/1.783, allocations: 35.07 MB / 0.9787 GB, free: 202.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.873e-05/1.783, allocations: 3.938 kB / 0.9787 GB, free: 202.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.785, allocations: 456.2 kB / 0.9791 GB, free: 202.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02369/1.809, allocations: 8.645 MB / 0.9876 GB, free: 199 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001181/1.81, allocations: 75.98 kB / 0.9876 GB, free: 198.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05959/1.87, allocations: 52.55 MB / 1.039 GB, free: 146.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01203/1.882, allocations: 9.816 MB / 1.049 GB, free: 136.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03862/1.921, allocations: 24.1 MB / 1.072 GB, free: 112.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.922, allocations: 0.5113 MB / 1.073 GB, free: 112.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/1.924, allocations: 75.98 kB / 1.073 GB, free: 112.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004196/1.928, allocations: 383.4 kB / 1.073 GB, free: 111.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001453/1.929, allocations: 319.5 kB / 1.073 GB, free: 111.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004127/1.93, allocations: 104 kB / 1.073 GB, free: 111.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003752/1.933, allocations: 2.832 MB / 1.076 GB, free: 108.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/1.934, allocations: 0 / 1.076 GB, free: 108.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006162/1.94, allocations: 1.98 MB / 1.078 GB, free: 106.7 MB / 0.6231 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.03867/1.978, allocations: 24.75 MB / 1.102 GB, free: 81.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01814/1.997, allocations: 12.71 MB / 1.115 GB, free: 69.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/1.997, allocations: 0 / 1.115 GB, free: 69.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01153/2.008, allocations: 7.235 MB / 1.122 GB, free: 61.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/2.013, allocations: 0.8453 MB / 1.123 GB, free: 60.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3945/2.408, allocations: 80.37 MB / 1.201 GB, free: 215.7 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/2.413, allocations: 4.152 MB / 1.205 GB, free: 214.9 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003848/2.416, allocations: 1.608 MB / 1.207 GB, free: 214.8 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003637/2.42, allocations: 2.618 MB / 1.209 GB, free: 214.8 MB / 0.6388 GB Notification: Performance of SimCode: time 1.323e-06/2.42, allocations: 0 / 1.209 GB, free: 214.8 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2181/2.638, allocations: 174.3 MB / 1.379 GB, free: 56.77 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.38/34.02, allocations: 15.64 kB / 1.379 GB, free: 56.75 MB / 0.6388 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat