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.0008594/0.0008594, allocations: 96.03 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.7 MB / 246.4 MB, free: 9.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 8 kB / 418.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 63.56 MB / 482.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3328/0.469, allocations: 59.43 MB / 0.5291 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03544/0.5045, allocations: 12.53 MB / 0.5414 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01298/0.5175, allocations: 286.4 kB / 0.5416 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.5285, allocations: 3.105 MB / 0.5447 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02909/0.5576, allocations: 9.028 MB / 0.5535 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005681/0.5633, allocations: 0.8023 MB / 0.5543 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08367/0.647, allocations: 62.01 MB / 0.6148 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.6596, allocations: 6.539 MB / 0.6212 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.6644, allocations: 1.635 MB / 0.6228 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005021/0.6695, allocations: 2.504 MB / 0.6253 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.6709, allocations: 179.9 kB / 0.6254 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.6742, allocations: 0.9675 MB / 0.6264 GB, free: 3.395 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003562/0.6778, allocations: 2.123 MB / 0.6285 GB, free: 1.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.6802, allocations: 1.022 MB / 0.6295 GB, free: 240 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.6934, allocations: 7.01 MB / 0.6363 GB, free: 9.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.6935, allocations: 0 / 0.6363 GB, free: 9.207 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.6935, allocations: 0 / 0.6363 GB, free: 9.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005915/0.6941, allocations: 4 kB / 0.6363 GB, free: 9.203 MB / 478.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.0147/0.7088, allocations: 5.05 MB / 0.6412 GB, free: 4.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.7089, allocations: 8.031 kB / 0.6412 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.7204, allocations: 2.641 MB / 0.6438 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009815/0.7303, allocations: 3.672 MB / 0.6474 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.7307, allocations: 295.8 kB / 0.6477 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/0.7327, allocations: 423.6 kB / 0.6481 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.7594, allocations: 11.54 MB / 0.6594 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003479/0.7598, allocations: 55.52 kB / 0.6594 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/0.7615, allocations: 187.9 kB / 0.6596 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003706/0.7652, allocations: 2.022 MB / 0.6616 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/0.7889, allocations: 9.922 MB / 0.6713 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.362/1.151, allocations: 45.54 MB / 0.7157 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/1.162, allocations: 4.364 MB / 0.72 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003833/1.166, allocations: 2.465 MB / 0.7224 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/1.182, allocations: 9.836 MB / 0.732 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.182, allocations: 57.23 kB / 0.7321 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.807e-06/1.182, allocations: 0 / 0.7321 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.04624/1.228, allocations: 19.92 MB / 0.7515 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/1.228, allocations: 206.8 kB / 0.7517 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/1.234, allocations: 4.665 MB / 0.7563 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003122/1.234, allocations: 53.7 kB / 0.7563 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.236, allocations: 3.557 MB / 0.7598 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007268/1.237, allocations: 0.7594 MB / 0.7605 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/1.237, allocations: 137.2 kB / 0.7607 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002797/1.237, allocations: 0.5829 MB / 0.7612 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/1.24, allocations: 2.386 MB / 0.7636 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004047/1.244, allocations: 6.23 MB / 0.7696 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.248, allocations: 3.772 MB / 0.7733 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-05/1.248, allocations: 40 kB / 0.7734 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01296/1.261, allocations: 9.719 MB / 0.7829 GB, free: 111 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/1.261, allocations: 64 kB / 0.7829 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.094e-05/1.261, allocations: 136.2 kB / 0.7831 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/1.265, allocations: 1.635 MB / 0.7846 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/1.268, allocations: 1.49 MB / 0.7861 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009457/1.278, allocations: 9.535 MB / 0.7954 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/1.282, allocations: 366.3 kB / 0.7958 GB, free: 97.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/1.283, allocations: 392 kB / 0.7961 GB, free: 97.16 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003737/1.287, allocations: 2.462 MB / 0.7985 GB, free: 94.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007455/1.287, allocations: 402.8 kB / 0.7989 GB, free: 94.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007037/1.294, allocations: 4.24 MB / 0.8031 GB, free: 90.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.295, allocations: 20 kB / 0.8031 GB, free: 90.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/1.295, allocations: 15.98 kB / 0.8031 GB, free: 89.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/1.295, allocations: 11.97 kB / 0.8031 GB, free: 89.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.313, allocations: 9.718 MB / 0.8126 GB, free: 80.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.313, allocations: 0 / 0.8126 GB, free: 80.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.315, allocations: 299.5 kB / 0.8129 GB, free: 79.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/1.318, allocations: 1.358 MB / 0.8142 GB, free: 78.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.318, allocations: 39.98 kB / 0.8143 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008921/1.327, allocations: 8.733 MB / 0.8228 GB, free: 69.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.327, allocations: 0 / 0.8228 GB, free: 69.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009209/1.336, allocations: 6.975 MB / 0.8296 GB, free: 62.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.337, allocations: 463.6 kB / 0.83 GB, free: 62.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000417/1.338, allocations: 32 kB / 0.8301 GB, free: 62.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.339, allocations: 123.8 kB / 0.8302 GB, free: 61.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/1.34, allocations: 117.1 kB / 0.8303 GB, free: 61.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.34, allocations: 55.98 kB / 0.8303 GB, free: 61.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003712/1.343, allocations: 2.932 MB / 0.8332 GB, free: 58.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.613e-06/1.343, allocations: 0 / 0.8332 GB, free: 58.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004916/1.348, allocations: 1.19 MB / 0.8344 GB, free: 57.61 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000401/1.349, allocations: 167 kB / 0.8345 GB, free: 57.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0078/1.357, allocations: 5.937 MB / 0.8403 GB, free: 51.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.357, allocations: 384 / 0.8403 GB, free: 51.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.359, allocations: 2.007 MB / 0.8423 GB, free: 49.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/1.362, allocations: 0.5138 MB / 0.8428 GB, free: 48.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/1.381, allocations: 13.05 MB / 0.8555 GB, free: 35.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/1.384, allocations: 3.824 MB / 0.8593 GB, free: 32.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004425/1.389, allocations: 1.985 MB / 0.8612 GB, free: 30.03 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/1.39, allocations: 263.4 kB / 0.8615 GB, free: 29.77 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/1.39, allocations: 4 kB / 0.8615 GB, free: 29.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.09281/1.482, allocations: 41.92 MB / 0.9024 GB, free: 4.031 MB / 0.545 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