Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 117.7 kB / 17.78 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.002105/0.002105, allocations: 204.6 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.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 75.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3733, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01705/0.3904, allocations: 13.5 MB / 0.5442 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.4033, allocations: 4.544 MB / 0.5486 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004447/0.4078, allocations: 93.47 kB / 0.5487 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008354/0.4163, allocations: 4.187 MB / 0.5528 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007202/0.4235, allocations: 2.128 MB / 0.5549 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.4263, allocations: 0.9321 MB / 0.5558 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009898/0.4362, allocations: 6.12 MB / 0.5618 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006682/0.4429, allocations: 5.205 MB / 0.5668 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.4474, allocations: 2.119 MB / 0.5689 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004908/0.4524, allocations: 2.8 MB / 0.5716 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.4539, allocations: 472 kB / 0.5721 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.4574, allocations: 1.346 MB / 0.5734 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003155/0.4606, allocations: 2.509 MB / 0.5759 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004974/0.4656, allocations: 2.84 MB / 0.5786 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.4793, allocations: 9.025 MB / 0.5875 GB, free: 7.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4794, allocations: 0 / 0.5875 GB, free: 7.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4794, allocations: 0 / 0.5875 GB, free: 7.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003052/0.4797, allocations: 0 / 0.5875 GB, free: 7.727 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: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01789/0.4976, allocations: 6.079 MB / 0.5934 GB, free: 1.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4976, allocations: 8.031 kB / 0.5934 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.5106, allocations: 2.587 MB / 0.5959 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.5215, allocations: 3.801 MB / 0.5996 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.522, allocations: 304.1 kB / 0.5999 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002582/0.5246, allocations: 427.8 kB / 0.6003 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02714/0.5517, allocations: 11.55 MB / 0.6116 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/0.5521, allocations: 51.59 kB / 0.6117 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/0.5538, allocations: 187.9 kB / 0.6118 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004049/0.5579, allocations: 2.026 MB / 0.6138 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.5812, allocations: 9.94 MB / 0.6235 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06735/0.6486, allocations: 45.34 MB / 0.6678 GB, free: 3.176 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.6606, allocations: 4.366 MB / 0.6721 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003715/0.6644, allocations: 2.479 MB / 0.6745 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01747/0.6818, allocations: 9.847 MB / 0.6841 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.6819, allocations: 51.55 kB / 0.6841 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 5.4e-06/0.6819, allocations: 0 / 0.6841 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.06236/0.7443, allocations: 19.9 MB / 0.7036 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.7445, allocations: 205.2 kB / 0.7038 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/0.7553, allocations: 4.689 MB / 0.7084 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006685/0.756, allocations: 57.61 kB / 0.7084 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003451/0.7595, allocations: 3.564 MB / 0.7119 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/0.7611, allocations: 0.7637 MB / 0.7126 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003247/0.7643, allocations: 1.333 MB / 0.7139 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.7646, allocations: 305.1 kB / 0.7142 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004065/0.7686, allocations: 2.402 MB / 0.7166 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3252/1.094, allocations: 6.254 MB / 0.7227 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.105, allocations: 9.293 MB / 0.7318 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/1.105, allocations: 37.81 kB / 0.7318 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01687/1.122, allocations: 9.768 MB / 0.7413 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/1.122, allocations: 63.41 kB / 0.7414 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/1.122, allocations: 138.8 kB / 0.7415 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/1.126, allocations: 1.602 MB / 0.7431 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/1.13, allocations: 1.494 MB / 0.7445 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/1.141, allocations: 10.26 MB / 0.7546 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006407/1.148, allocations: 356.3 kB / 0.7549 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.149, allocations: 400 kB / 0.7553 GB, free: 138 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (793): * Single equations (assignments): 788 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005171/1.154, allocations: 2.45 MB / 0.7577 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009491/1.155, allocations: 405.8 kB / 0.7581 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008737/1.164, allocations: 4.235 MB / 0.7622 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.004e-05/1.164, allocations: 24 kB / 0.7622 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.164, allocations: 8 kB / 0.7622 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/1.164, allocations: 11.97 kB / 0.7622 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.185, allocations: 9.668 MB / 0.7717 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.185, allocations: 0 / 0.7717 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/1.186, allocations: 299.6 kB / 0.772 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/1.19, allocations: 1.35 MB / 0.7733 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/1.19, allocations: 39.98 kB / 0.7733 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009883/1.2, allocations: 9.394 MB / 0.7825 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.2, allocations: 0 / 0.7825 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009918/1.21, allocations: 6.976 MB / 0.7893 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.211, allocations: 451.7 kB / 0.7897 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009139/1.212, allocations: 32 kB / 0.7898 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.214, allocations: 115.8 kB / 0.7899 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/1.215, allocations: 121.1 kB / 0.79 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.215, allocations: 55.7 kB / 0.7901 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005081/1.22, allocations: 2.96 MB / 0.7929 GB, free: 99.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/1.22, allocations: 4 kB / 0.7929 GB, free: 99.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006874/1.227, allocations: 1.181 MB / 0.7941 GB, free: 98.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (147): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007945/1.228, allocations: 169.2 kB / 0.7943 GB, free: 98.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.238, allocations: 5.97 MB / 0.8001 GB, free: 92.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.238, allocations: 1.875 kB / 0.8001 GB, free: 92.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/1.241, allocations: 2.007 MB / 0.8021 GB, free: 90.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.246, allocations: 0.5394 MB / 0.8026 GB, free: 89.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/1.268, allocations: 11.04 MB / 0.8134 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005218/1.273, allocations: 3.823 MB / 0.8171 GB, free: 74.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004481/1.278, allocations: 1.976 MB / 0.819 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.279, allocations: 271.4 kB / 0.8193 GB, free: 72.59 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.279, allocations: 4 kB / 0.8193 GB, free: 72.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.09268/1.372, allocations: 41.81 MB / 0.8601 GB, free: 31.07 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches