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.002254/0.002254, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002049/0.002049, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, 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.2228/0.2228, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 76.06 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3877, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01502/0.4028, allocations: 13.5 MB / 0.5442 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.4136, allocations: 4.544 MB / 0.5486 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.4167, allocations: 97.59 kB / 0.5487 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007762/0.4245, allocations: 4.178 MB / 0.5528 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.4309, allocations: 2.182 MB / 0.5549 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.4333, allocations: 0.936 MB / 0.5558 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0096/0.443, allocations: 6.119 MB / 0.5618 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00951/0.4525, allocations: 5.205 MB / 0.5669 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/0.4583, allocations: 2.115 MB / 0.569 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/0.4637, allocations: 2.804 MB / 0.5717 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.4659, allocations: 476 kB / 0.5721 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.47, allocations: 1.338 MB / 0.5735 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003731/0.4737, allocations: 2.509 MB / 0.5759 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006583/0.4803, allocations: 2.84 MB / 0.5787 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.495, allocations: 9.022 MB / 0.5875 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4951, allocations: 0 / 0.5875 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4951, allocations: 0 / 0.5875 GB, free: 7.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003928/0.4955, allocations: 0 / 0.5875 GB, free: 7.641 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.01585/0.5113, allocations: 6.087 MB / 0.5934 GB, free: 1.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5114, allocations: 12.03 kB / 0.5934 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5233, allocations: 2.575 MB / 0.596 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008985/0.5323, allocations: 3.812 MB / 0.5997 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.5327, allocations: 296.1 kB / 0.6 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.5344, allocations: 431.8 kB / 0.6004 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.5561, allocations: 11.55 MB / 0.6117 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.5563, allocations: 51.53 kB / 0.6117 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.5568, allocations: 187.9 kB / 0.6119 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003323/0.5601, allocations: 2.026 MB / 0.6139 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.5794, allocations: 9.947 MB / 0.6236 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05814/0.6376, allocations: 45.34 MB / 0.6678 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.6484, allocations: 4.375 MB / 0.6721 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/0.6517, allocations: 2.471 MB / 0.6745 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/0.668, allocations: 9.851 MB / 0.6842 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.6681, allocations: 51.5 kB / 0.6842 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 5.671e-06/0.6681, allocations: 0 / 0.6842 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.05792/0.726, allocations: 19.9 MB / 0.7036 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.7262, allocations: 209.2 kB / 0.7038 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007958/0.7342, allocations: 4.685 MB / 0.7084 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004729/0.7347, allocations: 57.69 kB / 0.7085 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/0.7372, allocations: 3.556 MB / 0.7119 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009738/0.7382, allocations: 0.7637 MB / 0.7127 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.7401, allocations: 1.329 MB / 0.714 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7402, allocations: 305.1 kB / 0.7143 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/0.7437, allocations: 2.406 MB / 0.7166 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2976/1.041, allocations: 6.254 MB / 0.7227 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.053, allocations: 9.29 MB / 0.7318 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/1.053, allocations: 38.03 kB / 0.7318 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01784/1.071, allocations: 9.776 MB / 0.7414 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/1.071, allocations: 60.56 kB / 0.7414 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/1.072, allocations: 136.8 kB / 0.7416 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/1.075, allocations: 1.615 MB / 0.7432 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.08, allocations: 1.48 MB / 0.7446 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.092, allocations: 10.26 MB / 0.7546 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/1.097, allocations: 360.4 kB / 0.755 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007118/1.098, allocations: 392 kB / 0.7553 GB, free: 137.8 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.003424/1.102, allocations: 2.45 MB / 0.7577 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009527/1.102, allocations: 410.1 kB / 0.7581 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/1.109, allocations: 4.231 MB / 0.7623 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/1.109, allocations: 20 kB / 0.7623 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.109, allocations: 8 kB / 0.7623 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.109, allocations: 7.969 kB / 0.7623 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.124, allocations: 9.68 MB / 0.7717 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.124, allocations: 0 / 0.7717 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.126, allocations: 299.6 kB / 0.772 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.129, allocations: 1.362 MB / 0.7734 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/1.129, allocations: 31.98 kB / 0.7734 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009414/1.139, allocations: 9.382 MB / 0.7826 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.139, allocations: 4 kB / 0.7826 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/1.148, allocations: 6.969 MB / 0.7894 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.149, allocations: 459.7 kB / 0.7898 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/1.15, allocations: 28 kB / 0.7898 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.151, allocations: 115.8 kB / 0.7899 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/1.152, allocations: 125.1 kB / 0.7901 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.152, allocations: 55.7 kB / 0.7901 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003734/1.156, allocations: 2.96 MB / 0.793 GB, free: 99.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.142e-06/1.156, allocations: 0 / 0.793 GB, free: 99.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005945/1.162, allocations: 1.189 MB / 0.7942 GB, free: 98.26 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.0004538/1.162, allocations: 161.4 kB / 0.7943 GB, free: 98.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008536/1.171, allocations: 5.975 MB / 0.8001 GB, free: 92.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.171, allocations: 4.062 kB / 0.8002 GB, free: 92.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002585/1.173, allocations: 2.01 MB / 0.8021 GB, free: 90.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/1.177, allocations: 0.5317 MB / 0.8026 GB, free: 89.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.194, allocations: 11.04 MB / 0.8134 GB, free: 78.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.198, allocations: 3.815 MB / 0.8171 GB, free: 74.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004072/1.202, allocations: 1.981 MB / 0.8191 GB, free: 72.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008252/1.203, allocations: 267.4 kB / 0.8193 GB, free: 72.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/1.203, allocations: 0 / 0.8193 GB, free: 72.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.06462/1.268, allocations: 41.82 MB / 0.8602 GB, free: 30.83 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