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.001387/0.001393, allocations: 117.2 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 79.86 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3792, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01463/0.3939, allocations: 13.5 MB / 0.5442 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.4059, allocations: 4.549 MB / 0.5486 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004511/0.4104, allocations: 90.59 kB / 0.5487 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008252/0.4187, allocations: 4.18 MB / 0.5528 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007411/0.4263, allocations: 2.128 MB / 0.5549 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.4289, allocations: 0.9438 MB / 0.5558 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.439, allocations: 6.119 MB / 0.5618 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008105/0.4472, allocations: 5.204 MB / 0.5668 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004256/0.4515, allocations: 2.111 MB / 0.5689 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004805/0.4563, allocations: 2.8 MB / 0.5716 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001877/0.4582, allocations: 472 kB / 0.5721 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.4621, allocations: 1.334 MB / 0.5734 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003503/0.4656, allocations: 2.49 MB / 0.5758 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004692/0.4703, allocations: 2.848 MB / 0.5786 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.4835, allocations: 9.06 MB / 0.5875 GB, free: 7.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4836, allocations: 0 / 0.5875 GB, free: 7.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.4836, allocations: 0 / 0.5875 GB, free: 7.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003542/0.4839, allocations: 3.938 kB / 0.5875 GB, free: 7.66 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.01718/0.5011, allocations: 6.231 MB / 0.5935 GB, free: 1.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5012, allocations: 11.97 kB / 0.5936 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.5132, allocations: 2.618 MB / 0.5961 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008541/0.5217, allocations: 3.818 MB / 0.5998 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003026/0.5221, allocations: 300.1 kB / 0.6001 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.5238, allocations: 427.9 kB / 0.6005 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.5445, allocations: 11.55 MB / 0.6118 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/0.5447, allocations: 55.59 kB / 0.6119 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005283/0.5452, allocations: 187.8 kB / 0.612 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003208/0.5485, allocations: 2.018 MB / 0.614 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.5666, allocations: 9.94 MB / 0.6237 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0547/0.6213, allocations: 45.44 MB / 0.6681 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.6336, allocations: 4.37 MB / 0.6724 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/0.6377, allocations: 2.467 MB / 0.6748 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/0.6534, allocations: 9.861 MB / 0.6844 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.6534, allocations: 55.55 kB / 0.6845 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.859e-06/0.6535, allocations: 0 / 0.6845 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.0596/0.7131, allocations: 20.18 MB / 0.7042 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7132, allocations: 201.2 kB / 0.7044 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006858/0.7201, allocations: 4.702 MB / 0.7089 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005072/0.7206, allocations: 61.7 kB / 0.709 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.7239, allocations: 3.7 MB / 0.7126 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.725, allocations: 0.7946 MB / 0.7134 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001842/0.7268, allocations: 1.342 MB / 0.7147 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.727, allocations: 305.4 kB / 0.715 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2998/1.027, allocations: 2.401 MB / 0.7173 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006809/1.034, allocations: 6.254 MB / 0.7234 GB, free: 158 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.044, allocations: 9.29 MB / 0.7325 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/1.044, allocations: 38.69 kB / 0.7326 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0166/1.061, allocations: 9.796 MB / 0.7421 GB, free: 147 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/1.061, allocations: 62.88 kB / 0.7422 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.061, allocations: 133 kB / 0.7423 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/1.065, allocations: 1.61 MB / 0.7439 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/1.07, allocations: 1.486 MB / 0.7453 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.08, allocations: 10.26 MB / 0.7554 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/1.085, allocations: 360.6 kB / 0.7557 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007751/1.086, allocations: 395.8 kB / 0.7561 GB, free: 136.9 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.003512/1.09, allocations: 2.457 MB / 0.7585 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008128/1.091, allocations: 430.2 kB / 0.7589 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006789/1.097, allocations: 4.231 MB / 0.763 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/1.097, allocations: 24 kB / 0.763 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.097, allocations: 8 kB / 0.7631 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/1.098, allocations: 7.969 kB / 0.7631 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.113, allocations: 9.675 MB / 0.7725 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.113, allocations: 4 kB / 0.7725 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.114, allocations: 299.6 kB / 0.7728 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/1.117, allocations: 1.35 MB / 0.7741 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/1.118, allocations: 35.98 kB / 0.7741 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00899/1.127, allocations: 9.403 MB / 0.7833 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.127, allocations: 2.953 kB / 0.7833 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009656/1.136, allocations: 7 MB / 0.7902 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.138, allocations: 479.5 kB / 0.7906 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/1.138, allocations: 32 kB / 0.7907 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.14, allocations: 115.8 kB / 0.7908 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/1.14, allocations: 125.1 kB / 0.7909 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.14, allocations: 52 kB / 0.7909 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003277/1.144, allocations: 2.956 MB / 0.7938 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.144, allocations: 0 / 0.7938 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005166/1.149, allocations: 1.18 MB / 0.795 GB, free: 97.25 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.0004354/1.149, allocations: 169 kB / 0.7951 GB, free: 97.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009094/1.158, allocations: 5.969 MB / 0.801 GB, free: 91.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.158, allocations: 0.5 kB / 0.801 GB, free: 91.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/1.161, allocations: 2.013 MB / 0.8029 GB, free: 89.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/1.165, allocations: 0.538 MB / 0.8035 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/1.184, allocations: 11.21 MB / 0.8144 GB, free: 77.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005241/1.189, allocations: 3.823 MB / 0.8181 GB, free: 73.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004336/1.194, allocations: 1.98 MB / 0.8201 GB, free: 71.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009693/1.195, allocations: 273.7 kB / 0.8203 GB, free: 71.21 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.195, allocations: 0 / 0.8203 GB, free: 71.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.06594/1.261, allocations: 41.82 MB / 0.8612 GB, free: 29.63 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