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.001721/0.001721, allocations: 204.3 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008154/0.0008155, allocations: 103.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3576/0.3576, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 8.219 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.341, allocations: 62.96 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4846, allocations: 110.8 MB / 0.6266 GB, free: 10.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4849, allocations: 91.94 kB / 0.6267 GB, free: 10.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5591/1.044, allocations: 104 MB / 0.7283 GB, free: 96.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.044, allocations: 3.938 kB / 0.7283 GB, free: 96.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003702/1.044, allocations: 108.1 kB / 0.7284 GB, free: 96.7 MB / 490.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.02146/1.066, allocations: 5.424 MB / 0.7337 GB, free: 93.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.066, allocations: 7.781 kB / 0.7337 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02515/1.091, allocations: 5.284 MB / 0.7389 GB, free: 93.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/1.106, allocations: 5.169 MB / 0.7439 GB, free: 90.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/1.106, allocations: 391 kB / 0.7443 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/1.108, allocations: 0.5184 MB / 0.7448 GB, free: 90.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/1.13, allocations: 12.21 MB / 0.7567 GB, free: 82.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/1.13, allocations: 67.56 kB / 0.7568 GB, free: 82.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009182/1.131, allocations: 258.9 kB / 0.757 GB, free: 82.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/1.132, allocations: 1.073 MB / 0.7581 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/1.151, allocations: 9.9 MB / 0.7677 GB, free: 74.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05416/1.205, allocations: 55.49 MB / 0.8219 GB, free: 17.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009166/1.214, allocations: 4.197 MB / 0.826 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/1.217, allocations: 2.256 MB / 0.8282 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.23, allocations: 9.28 MB / 0.8373 GB, free: 1.918 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.23, allocations: 59.44 kB / 0.8374 GB, free: 1.852 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 4.598e-06/1.23, allocations: 0 / 0.8374 GB, free: 1.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.04364/1.274, allocations: 17.44 MB / 0.8544 GB, free: 304 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.274, allocations: 205.2 kB / 0.8546 GB, free: 56 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007092/1.281, allocations: 4.659 MB / 0.8591 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003875/1.281, allocations: 57.64 kB / 0.8592 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002827/1.284, allocations: 3.663 MB / 0.8628 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.285, allocations: 0.7598 MB / 0.8635 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/1.286, allocations: 128 kB / 0.8636 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004255/1.286, allocations: 0.5628 MB / 0.8642 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/1.289, allocations: 2.089 MB / 0.8662 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/1.295, allocations: 5.958 MB / 0.872 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.305, allocations: 8.785 MB / 0.8806 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/1.306, allocations: 44 kB / 0.8807 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.2899/1.596, allocations: 8.508 MB / 0.889 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.596, allocations: 64.56 kB / 0.889 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/1.596, allocations: 134.4 kB / 0.8892 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/1.598, allocations: 0.9113 MB / 0.89 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/1.603, allocations: 1.436 MB / 0.8914 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008684/1.612, allocations: 7.433 MB / 0.8987 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005697/1.618, allocations: 337.9 kB / 0.899 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.619, allocations: 387 kB / 0.8994 GB, free: 125.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * 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.005303/1.624, allocations: 2.482 MB / 0.9018 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009825/1.625, allocations: 412.7 kB / 0.9022 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00624/1.631, allocations: 3.23 MB / 0.9054 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/1.631, allocations: 23.41 kB / 0.9054 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/1.632, allocations: 6.562 kB / 0.9054 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/1.632, allocations: 10.86 kB / 0.9054 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/1.649, allocations: 8.592 MB / 0.9138 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.649, allocations: 1.188 kB / 0.9138 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.651, allocations: 303 kB / 0.9141 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/1.653, allocations: 0.6882 MB / 0.9148 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/1.653, allocations: 35.06 kB / 0.9148 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006371/1.66, allocations: 6.574 MB / 0.9212 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.66, allocations: 3.938 kB / 0.9212 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007231/1.667, allocations: 5.671 MB / 0.9268 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.668, allocations: 455.8 kB / 0.9272 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004059/1.668, allocations: 31.56 kB / 0.9272 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.67, allocations: 104.9 kB / 0.9273 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/1.67, allocations: 114.1 kB / 0.9274 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.67, allocations: 50.7 kB / 0.9275 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004803/1.675, allocations: 2.933 MB / 0.9303 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.675, allocations: 0 / 0.9303 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00513/1.68, allocations: 1.136 MB / 0.9315 GB, free: 114.3 MB / 0.5261 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.0004154/1.681, allocations: 182.5 kB / 0.9316 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006946/1.687, allocations: 5.357 MB / 0.9369 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.688, allocations: 2.656 kB / 0.9369 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/1.69, allocations: 1.807 MB / 0.9386 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.693, allocations: 0.5482 MB / 0.9392 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.712, allocations: 12.8 MB / 0.9517 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/1.716, allocations: 3.861 MB / 0.9554 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004999/1.721, allocations: 1.999 MB / 0.9574 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007811/1.722, allocations: 270.9 kB / 0.9576 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.282e-06/1.722, allocations: 3.844 kB / 0.9576 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.07272/1.795, allocations: 39.51 MB / 0.9962 GB, free: 75.3 MB / 0.5261 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/jenkins1/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