Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2505, allocations: 50.55 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02332/0.2738, allocations: 18.69 MB / 427.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.2886, allocations: 6.155 MB / 433.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.2924, allocations: 147.6 kB / 433.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.3035, allocations: 6.016 MB / 439.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006591/0.3101, allocations: 2.611 MB / 442.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.3152, allocations: 2.385 MB / 444.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009666/0.3248, allocations: 6.66 MB / 451.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.3367, allocations: 8.072 MB / 459.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005675/0.3424, allocations: 2.828 MB / 462.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.3489, allocations: 3.513 MB / 465.8 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.3512, allocations: 0.6367 MB / 466.5 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.3559, allocations: 1.842 MB / 468.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004415/0.3603, allocations: 3.32 MB / 471.6 MB, free: 2.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006227/0.3666, allocations: 3.734 MB / 475.4 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.3821, allocations: 11.94 MB / 487.3 MB, free: 2.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3821, allocations: 4 kB / 487.3 MB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3821, allocations: 0 / 487.3 MB, free: 2.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003772/0.3825, allocations: 0 / 487.3 MB, free: 2.637 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.02377/0.4063, allocations: 8.474 MB / 495.8 MB, free: 10.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4064, allocations: 15.97 kB / 495.8 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003291/0.4097, allocations: 1.115 MB / 496.9 MB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/0.4194, allocations: 2.286 MB / 499.2 MB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.4302, allocations: 4.564 MB / 0.4919 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/0.4306, allocations: 427 kB / 0.4924 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.4327, allocations: 0.5739 MB / 0.4929 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/0.4673, allocations: 16.34 MB / 0.5089 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003061/0.4676, allocations: 55.52 kB / 0.5089 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/0.4697, allocations: 263.8 kB / 0.5092 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00432/0.474, allocations: 2.513 MB / 0.5116 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03095/0.505, allocations: 13.98 MB / 0.5253 GB, free: 14.92 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4269/0.932, allocations: 61.78 MB / 0.5856 GB, free: 76.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/0.9521, allocations: 7.584 MB / 0.593 GB, free: 68.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003996/0.9561, allocations: 3.936 MB / 0.5969 GB, free: 65.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02257/0.9787, allocations: 16.65 MB / 0.6131 GB, free: 48.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.9788, allocations: 69.16 kB / 0.6132 GB, free: 47.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 6.181e-06/0.9788, allocations: 0 / 0.6132 GB, free: 47.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1152/1.094, allocations: 42.87 MB / 0.6551 GB, free: 5.273 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02296/1.117, allocations: 16.7 MB / 0.6714 GB, free: 4.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/1.127, allocations: 5.631 MB / 0.6769 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008436/1.128, allocations: 77.69 kB / 0.6769 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004046/1.132, allocations: 4.797 MB / 0.6816 GB, free: 9.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002359/1.135, allocations: 1.295 MB / 0.6829 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006008/1.141, allocations: 1.88 MB / 0.6847 GB, free: 6.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/1.141, allocations: 309.4 kB / 0.685 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007171/1.148, allocations: 4.046 MB / 0.689 GB, free: 2.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/1.161, allocations: 9.197 MB / 0.698 GB, free: 6.555 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/1.179, allocations: 14.33 MB / 0.7119 GB, free: 5.648 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/1.179, allocations: 52 kB / 0.712 GB, free: 5.598 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.03933/1.218, allocations: 17.37 MB / 0.729 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002566/1.219, allocations: 80 kB / 0.729 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003416/1.219, allocations: 180 kB / 0.7292 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01529/1.234, allocations: 4.558 MB / 0.7337 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006947/1.241, allocations: 1.985 MB / 0.7356 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2578/1.499, allocations: 36.37 MB / 0.7711 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007691/1.507, allocations: 0.54 MB / 0.7716 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.509, allocations: 0.5533 MB / 0.7722 GB, free: 180.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1041): * Single equations (assignments): 1028 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.005662/1.514, allocations: 3.183 MB / 0.7753 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.516, allocations: 0.547 MB / 0.7758 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/1.534, allocations: 9.826 MB / 0.7854 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.38e-05/1.534, allocations: 45.75 kB / 0.7855 GB, free: 175.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0159/1.55, allocations: 8.409 MB / 0.7937 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.057e-05/1.55, allocations: 19.34 kB / 0.7937 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04486/1.595, allocations: 21.95 MB / 0.8151 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.322e-05/1.595, allocations: 0 / 0.8151 GB, free: 146.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/1.598, allocations: 459.3 kB / 0.8156 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/1.608, allocations: 3.229 MB / 0.8187 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009307/1.609, allocations: 63.98 kB / 0.8188 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03214/1.641, allocations: 26.39 MB / 0.8446 GB, free: 116 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01313/1.655, allocations: 10.77 MB / 0.8551 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/1.68, allocations: 13.68 MB / 0.8684 GB, free: 91.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.682, allocations: 0.5765 MB / 0.869 GB, free: 90.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001935/1.684, allocations: 58.56 kB / 0.869 GB, free: 90.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004278/1.688, allocations: 218.9 kB / 0.8693 GB, free: 90.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/1.689, allocations: 225.6 kB / 0.8695 GB, free: 90.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000595/1.69, allocations: 82.89 kB / 0.8695 GB, free: 90.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006368/1.696, allocations: 3.506 MB / 0.873 GB, free: 86.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.62e-07/1.696, allocations: 2.438 kB / 0.873 GB, free: 86.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01019/1.706, allocations: 1.937 MB / 0.8749 GB, free: 84.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (210): * Single equations (assignments): 202 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02659/1.733, allocations: 14.39 MB / 0.8889 GB, free: 70.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01608/1.749, allocations: 10.62 MB / 0.8993 GB, free: 59.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.749, allocations: 7.938 kB / 0.8993 GB, free: 59.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005864/1.755, allocations: 4.106 MB / 0.9033 GB, free: 55.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007204/1.762, allocations: 0.8492 MB / 0.9041 GB, free: 54.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3718/2.134, allocations: 83.11 MB / 0.9853 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008081/2.142, allocations: 4.861 MB / 0.99 GB, free: 163 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006893/2.149, allocations: 2.727 MB / 0.9927 GB, free: 161.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005017/2.154, allocations: 3.088 MB / 0.9957 GB, free: 158.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/2.154, allocations: 0 / 0.9957 GB, free: 158.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/2.343, allocations: 138.5 MB / 1.131 GB, free: 20.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.33/30.68, allocations: 14.84 kB / 1.131 GB, free: 20.42 MB / 0.545 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Constraints/RevoluteConstraint/RevoluteConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches