Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009686/0.0009684, allocations: 105.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008991/0.0008993, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2058, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.05282/0.2587, allocations: 69.53 MB / 476.6 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03147/0.2902, allocations: 13.98 MB / 490.6 MB, free: 8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01172/0.302, allocations: 303.2 kB / 490.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007922/0.31, allocations: 4.208 MB / 495.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005662/0.3157, allocations: 2.024 MB / 497.1 MB, free: 1.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.3184, allocations: 0.8504 MB / 497.9 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.3295, allocations: 8.922 MB / 0.495 GB, free: 7.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007039/0.3366, allocations: 5.1 MB / 0.5 GB, free: 2.496 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.34, allocations: 1.904 MB / 0.5018 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2124/0.5524, allocations: 3.001 MB / 0.5048 GB, free: 8.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.554, allocations: 329.6 kB / 0.5051 GB, free: 8.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.5571, allocations: 1.271 MB / 0.5063 GB, free: 8.027 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002768/0.5599, allocations: 2.428 MB / 0.5087 GB, free: 8.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004255/0.5642, allocations: 2.754 MB / 0.5114 GB, free: 7.461 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009511/0.5737, allocations: 8.817 MB / 0.52 GB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5738, allocations: 0 / 0.52 GB, free: 6.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5738, allocations: 0 / 0.52 GB, free: 6.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005323/0.5743, allocations: 1.312 kB / 0.52 GB, free: 6.324 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01782/0.5921, allocations: 6.158 MB / 0.526 GB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5922, allocations: 11.77 kB / 0.526 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/0.6059, allocations: 2.606 MB / 0.5286 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009482/0.6154, allocations: 3.748 MB / 0.5322 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.6157, allocations: 306 kB / 0.5325 GB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.6176, allocations: 431.2 kB / 0.5329 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.639, allocations: 11.73 MB / 0.5444 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/0.6392, allocations: 53.17 kB / 0.5444 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006625/0.6399, allocations: 187.4 kB / 0.5446 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003172/0.643, allocations: 2.093 MB / 0.5467 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.6625, allocations: 10.1 MB / 0.5565 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.059/0.7215, allocations: 45.96 MB / 0.6014 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.7326, allocations: 4.363 MB / 0.6057 GB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/0.736, allocations: 2.471 MB / 0.6081 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/0.7533, allocations: 9.864 MB / 0.6177 GB, free: 5.484 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.7533, allocations: 54.38 kB / 0.6178 GB, free: 5.422 MB / 458.7 MB Notification: Performance of pre-optimization done (n=171): time 4.358e-06/0.7534, allocations: 0 / 0.6178 GB, free: 5.422 MB / 458.7 MB Notification: Performance of matching and sorting (n=197): time 0.06/0.8134, allocations: 19.95 MB / 0.6372 GB, free: 1.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.8135, allocations: 200.3 kB / 0.6374 GB, free: 1.172 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009702/0.8233, allocations: 4.717 MB / 0.642 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006587/0.824, allocations: 49.7 kB / 0.6421 GB, free: 12.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003134/0.8271, allocations: 3.592 MB / 0.6456 GB, free: 8.797 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.8284, allocations: 0.7607 MB / 0.6463 GB, free: 8.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003425/0.8318, allocations: 1.343 MB / 0.6476 GB, free: 6.695 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.832, allocations: 313.1 kB / 0.6479 GB, free: 6.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/0.836, allocations: 2.41 MB / 0.6503 GB, free: 3.973 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/0.8426, allocations: 6.267 MB / 0.6564 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.8539, allocations: 9.328 MB / 0.6655 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/0.8541, allocations: 40 kB / 0.6656 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02102/0.8752, allocations: 9.804 MB / 0.6751 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.8754, allocations: 63.98 kB / 0.6752 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002571/0.8757, allocations: 136.1 kB / 0.6753 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/0.8808, allocations: 1.612 MB / 0.6769 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004993/0.8859, allocations: 1.489 MB / 0.6784 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1835/1.069, allocations: 9.535 MB / 0.6877 GB, free: 210.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.075, allocations: 356.1 kB / 0.688 GB, free: 210.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.076, allocations: 395.4 kB / 0.6884 GB, free: 210.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (796): * Single equations (assignments): 791 * 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.003717/1.08, allocations: 2.495 MB / 0.6908 GB, free: 209.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007275/1.081, allocations: 405.3 kB / 0.6912 GB, free: 209.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007425/1.088, allocations: 4.231 MB / 0.6953 GB, free: 208.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/1.088, allocations: 29.11 kB / 0.6954 GB, free: 208.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.088, allocations: 11.84 kB / 0.6954 GB, free: 208.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.088, allocations: 8.672 kB / 0.6954 GB, free: 208.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.105, allocations: 9.772 MB / 0.7049 GB, free: 204.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.105, allocations: 3.375 kB / 0.7049 GB, free: 204.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.107, allocations: 306.1 kB / 0.7052 GB, free: 204.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003837/1.111, allocations: 1.353 MB / 0.7065 GB, free: 204.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/1.111, allocations: 33.03 kB / 0.7066 GB, free: 204.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009637/1.121, allocations: 8.738 MB / 0.7151 GB, free: 199.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.121, allocations: 0 / 0.7151 GB, free: 199.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07326/1.194, allocations: 42.95 MB / 0.7571 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.195, allocations: 456.4 kB / 0.7575 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.196, allocations: 41.53 kB / 0.7575 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/1.199, allocations: 112.5 kB / 0.7576 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/1.199, allocations: 117.1 kB / 0.7578 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.199, allocations: 57.31 kB / 0.7578 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00399/1.203, allocations: 2.964 MB / 0.7607 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/1.203, allocations: 2.938 kB / 0.7607 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007076/1.21, allocations: 1.59 MB / 0.7623 GB, free: 154.1 MB / 0.5105 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.0005163/1.211, allocations: 168.6 kB / 0.7624 GB, free: 154 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008771/1.22, allocations: 5.971 MB / 0.7682 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.22, allocations: 0 / 0.7682 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/1.223, allocations: 2.011 MB / 0.7702 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.228, allocations: 0.5119 MB / 0.7707 GB, free: 145.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/1.254, allocations: 15.37 MB / 0.7857 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/1.26, allocations: 3.931 MB / 0.7896 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005202/1.265, allocations: 2 MB / 0.7915 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.266, allocations: 275.4 kB / 0.7918 GB, free: 124 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/1.266, allocations: 0 / 0.7918 GB, free: 124 MB / 0.5105 GB Notification: Performance of Templates: time 0.07782/1.344, allocations: 53.57 MB / 0.8441 GB, free: 70.58 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches