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.001368/0.001368, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 63.88 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2489, allocations: 50.53 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02152/0.2705, allocations: 18.7 MB / 427.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.284, allocations: 6.147 MB / 433.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.287, allocations: 151.5 kB / 433.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.2985, allocations: 6.016 MB / 439.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007089/0.3056, allocations: 2.536 MB / 442.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.3116, allocations: 2.389 MB / 444.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.3219, allocations: 6.66 MB / 451.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.3326, allocations: 8.068 MB / 459.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.3376, allocations: 2.832 MB / 462.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/0.3431, allocations: 3.509 MB / 465.8 MB, free: 8.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.3446, allocations: 0.6328 MB / 466.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.3482, allocations: 1.834 MB / 468.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003634/0.3518, allocations: 3.27 MB / 471.5 MB, free: 2.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005149/0.357, allocations: 3.737 MB / 475.2 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.3726, allocations: 11.93 MB / 487.2 MB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3726, allocations: 0 / 487.2 MB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3727, allocations: 0 / 487.2 MB, free: 2.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003902/0.373, allocations: 0 / 487.2 MB, free: 2.773 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.02117/0.3942, allocations: 8.474 MB / 495.6 MB, free: 10.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3943, allocations: 11.97 kB / 495.6 MB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002345/0.3966, allocations: 1.119 MB / 496.8 MB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007693/0.4043, allocations: 2.286 MB / 499 MB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00952/0.4139, allocations: 4.564 MB / 0.4918 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.4143, allocations: 427.1 kB / 0.4922 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/0.4164, allocations: 0.57 MB / 0.4928 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0321/0.4485, allocations: 16.34 MB / 0.5087 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.4487, allocations: 63.5 kB / 0.5088 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007436/0.4495, allocations: 259.8 kB / 0.509 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004012/0.4535, allocations: 2.513 MB / 0.5115 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/0.482, allocations: 13.98 MB / 0.5251 GB, free: 15.05 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.5064/0.9884, allocations: 61.78 MB / 0.5855 GB, free: 76.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.007, allocations: 7.592 MB / 0.5929 GB, free: 69.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/1.011, allocations: 3.932 MB / 0.5967 GB, free: 65.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01911/1.03, allocations: 16.66 MB / 0.613 GB, free: 48.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.03, allocations: 61.11 kB / 0.613 GB, free: 48.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 7.104e-06/1.03, allocations: 4 kB / 0.613 GB, free: 48.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1029/1.133, allocations: 42.86 MB / 0.6549 GB, free: 5.406 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02322/1.156, allocations: 16.7 MB / 0.6712 GB, free: 4.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009087/1.166, allocations: 5.629 MB / 0.6767 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000905/1.167, allocations: 81.7 kB / 0.6768 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004005/1.171, allocations: 4.806 MB / 0.6815 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.173, allocations: 1.291 MB / 0.6827 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003009/1.176, allocations: 1.88 MB / 0.6846 GB, free: 6.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/1.176, allocations: 305.1 kB / 0.6849 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006573/1.182, allocations: 4.046 MB / 0.6888 GB, free: 2.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/1.194, allocations: 9.19 MB / 0.6978 GB, free: 6.707 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02084/1.215, allocations: 14.33 MB / 0.7118 GB, free: 5.805 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001699/1.215, allocations: 52 kB / 0.7118 GB, free: 5.754 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.0408/1.256, allocations: 17.37 MB / 0.7288 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.256, allocations: 84 kB / 0.7289 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002628/1.256, allocations: 180 kB / 0.7291 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/1.272, allocations: 4.559 MB / 0.7335 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007131/1.279, allocations: 1.985 MB / 0.7354 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2781/1.557, allocations: 36.39 MB / 0.771 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007199/1.564, allocations: 0.5301 MB / 0.7715 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.566, allocations: 0.5524 MB / 0.772 GB, free: 180.3 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.005603/1.571, allocations: 3.183 MB / 0.7751 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.573, allocations: 0.5466 MB / 0.7757 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/1.59, allocations: 9.822 MB / 0.7853 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/1.591, allocations: 52.28 kB / 0.7853 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0153/1.606, allocations: 8.408 MB / 0.7935 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/1.606, allocations: 15.94 kB / 0.7936 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03661/1.643, allocations: 21.95 MB / 0.815 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.573e-05/1.643, allocations: 4 kB / 0.815 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/1.645, allocations: 459.2 kB / 0.8154 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009626/1.655, allocations: 3.227 MB / 0.8186 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006713/1.655, allocations: 62.7 kB / 0.8186 GB, free: 142.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02831/1.684, allocations: 26.39 MB / 0.8444 GB, free: 116.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01187/1.696, allocations: 10.76 MB / 0.8549 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/1.717, allocations: 13.69 MB / 0.8683 GB, free: 91.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.718, allocations: 0.5725 MB / 0.8688 GB, free: 90.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009456/1.719, allocations: 55.38 kB / 0.8689 GB, free: 90.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.722, allocations: 219.7 kB / 0.8691 GB, free: 90.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/1.723, allocations: 224 kB / 0.8693 GB, free: 90.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.723, allocations: 87.98 kB / 0.8694 GB, free: 90.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004361/1.727, allocations: 3.502 MB / 0.8728 GB, free: 86.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/1.727, allocations: 0.875 kB / 0.8728 GB, free: 86.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008028/1.736, allocations: 1.941 MB / 0.8747 GB, free: 84.97 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.02236/1.758, allocations: 14.4 MB / 0.8888 GB, free: 70.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.772, allocations: 10.62 MB / 0.8992 GB, free: 59.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.772, allocations: 0 / 0.8992 GB, free: 59.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/1.777, allocations: 4.113 MB / 0.9032 GB, free: 55.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/1.782, allocations: 0.8412 MB / 0.904 GB, free: 54.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.358/2.14, allocations: 83.11 MB / 0.9852 GB, free: 165.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005713/2.146, allocations: 4.859 MB / 0.9899 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006084/2.152, allocations: 2.724 MB / 0.9926 GB, free: 161.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004145/2.156, allocations: 3.096 MB / 0.9956 GB, free: 158.6 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/2.156, allocations: 0 / 0.9956 GB, free: 158.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/2.349, allocations: 138.5 MB / 1.131 GB, free: 20.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.31/29.65, allocations: 7.953 kB / 1.131 GB, free: 20.78 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.1.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