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/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) 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 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(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/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007976/0.0007977, allocations: 97.56 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.176e-05/1.179e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 63.24 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5515, allocations: 110.1 MB / 0.6119 GB, free: 8.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5518, allocations: 79.45 kB / 0.6119 GB, free: 8.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2657/0.8175, allocations: 104.5 MB / 0.7139 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8176, allocations: 0 / 0.7139 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004384/0.818, allocations: 104 kB / 0.714 GB, free: 8.27 MB / 0.4948 GB 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.01724/0.8353, allocations: 5.152 MB / 0.7191 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8353, allocations: 8.031 kB / 0.7191 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.8631, allocations: 6.927 MB / 0.7258 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/0.8788, allocations: 5.852 MB / 0.7316 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.8792, allocations: 164.3 kB / 0.7317 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.8817, allocations: 315.9 kB / 0.732 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01526/0.8969, allocations: 7.224 MB / 0.7391 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.9216, allocations: 10.91 MB / 0.7497 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003867/0.922, allocations: 83.23 kB / 0.7498 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/0.924, allocations: 32 kB / 0.7498 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/0.9256, allocations: 1.066 MB / 0.7509 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3494/1.275, allocations: 54.57 MB / 0.8042 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/1.278, allocations: 3.29 MB / 0.8074 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/1.28, allocations: 2.113 MB / 0.8094 GB, free: 88.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/1.281, allocations: 338.8 kB / 0.8098 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/1.281, allocations: 56.31 kB / 0.8098 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=180): time 4.178e-06/1.281, allocations: 0 / 0.8098 GB, free: 88.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=207): time 0.03427/1.315, allocations: 18.97 MB / 0.8283 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/1.315, allocations: 205.4 kB / 0.8285 GB, free: 82.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/1.32, allocations: 3.573 MB / 0.832 GB, free: 81.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003107/1.32, allocations: 32.41 kB / 0.8321 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.322, allocations: 3.699 MB / 0.8357 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006329/1.322, allocations: 0.771 MB / 0.8364 GB, free: 77.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.322, allocations: 0 / 0.8364 GB, free: 77.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002509/1.323, allocations: 0.5815 MB / 0.837 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/1.325, allocations: 2.006 MB / 0.839 GB, free: 76.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/1.328, allocations: 5.942 MB / 0.8448 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.332, allocations: 3.446 MB / 0.8481 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-05/1.332, allocations: 39.84 kB / 0.8482 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01108/1.343, allocations: 7.796 MB / 0.8558 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/1.343, allocations: 65.78 kB / 0.8558 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.343, allocations: 142.5 kB / 0.856 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/1.346, allocations: 0.9385 MB / 0.8569 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/1.35, allocations: 1.502 MB / 0.8584 GB, free: 66.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/1.357, allocations: 7.243 MB / 0.8654 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.361, allocations: 223.8 kB / 0.8656 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009608/1.362, allocations: 397 kB / 0.866 GB, free: 62.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 786 * 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%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001029/1.363, allocations: 473.8 kB / 0.8665 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009433/1.364, allocations: 392.7 kB / 0.8668 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/1.37, allocations: 3.136 MB / 0.8699 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.37, allocations: 23.19 kB / 0.8699 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.37, allocations: 7.031 kB / 0.8699 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.37, allocations: 9.516 kB / 0.8699 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.382, allocations: 7.915 MB / 0.8777 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/1.382, allocations: 4.125 kB / 0.8777 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/1.384, allocations: 318 kB / 0.878 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/1.385, allocations: 0.6757 MB / 0.8786 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.386, allocations: 4 kB / 0.8786 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005699/1.391, allocations: 6.202 MB / 0.8847 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.391, allocations: 7.781 kB / 0.8847 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.398, allocations: 5.771 MB / 0.8903 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.399, allocations: 414.2 kB / 0.8907 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/1.4, allocations: 7.953 kB / 0.8908 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.401, allocations: 76.77 kB / 0.8908 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.402, allocations: 124.5 kB / 0.8909 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/1.402, allocations: 59.75 kB / 0.891 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003518/1.405, allocations: 2.418 MB / 0.8934 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/1.405, allocations: 3.938 kB / 0.8934 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0054/1.411, allocations: 0.9869 MB / 0.8943 GB, free: 40.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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.0004098/1.411, allocations: 157 kB / 0.8945 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006829/1.418, allocations: 5.08 MB / 0.8994 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.418, allocations: 0 / 0.8994 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/1.42, allocations: 1.769 MB / 0.9012 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.423, allocations: 455.4 kB / 0.9016 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.438, allocations: 8.776 MB / 0.9102 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003546/1.442, allocations: 3.975 MB / 0.9141 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004837/1.447, allocations: 2.077 MB / 0.9161 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/1.447, allocations: 259.3 kB / 0.9163 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/1.447, allocations: 3.938 kB / 0.9163 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.06046/1.508, allocations: 35.09 MB / 0.9506 GB, free: 7.129 MB / 0.5417 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches