Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 199.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008358, allocations: 101.5 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3613/0.3613, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3239, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4669, allocations: 110.8 MB / 0.6266 GB, free: 10.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4672, allocations: 91.92 kB / 0.6267 GB, free: 10.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.534/1.001, allocations: 103.5 MB / 0.7278 GB, free: 96.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.466e-06/1.001, allocations: 0 / 0.7278 GB, free: 96.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006153/1.002, allocations: 107.4 kB / 0.7279 GB, free: 96.92 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.02387/1.026, allocations: 5.416 MB / 0.7332 GB, free: 94.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.026, allocations: 13.61 kB / 0.7332 GB, free: 94.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/1.048, allocations: 5.242 MB / 0.7383 GB, free: 93.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/1.063, allocations: 5.165 MB / 0.7433 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004744/1.064, allocations: 384.9 kB / 0.7437 GB, free: 91.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00306/1.067, allocations: 0.5107 MB / 0.7442 GB, free: 90.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02939/1.096, allocations: 11.86 MB / 0.7558 GB, free: 83.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004965/1.097, allocations: 74.42 kB / 0.7558 GB, free: 83.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002639/1.1, allocations: 255.3 kB / 0.7561 GB, free: 83.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001606/1.101, allocations: 1.063 MB / 0.7571 GB, free: 83.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/1.121, allocations: 9.449 MB / 0.7664 GB, free: 76.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05863/1.179, allocations: 55.04 MB / 0.8201 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/1.188, allocations: 3.936 MB / 0.824 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/1.191, allocations: 2.14 MB / 0.826 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/1.205, allocations: 8.814 MB / 0.8347 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.206, allocations: 47.56 kB / 0.8347 GB, free: 4.547 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 5.129e-06/1.206, allocations: 0 / 0.8347 GB, free: 4.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.05025/1.256, allocations: 16.98 MB / 0.8513 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.256, allocations: 205.2 kB / 0.8515 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.267, allocations: 4.656 MB / 0.856 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005209/1.267, allocations: 57.7 kB / 0.8561 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00365/1.271, allocations: 3.658 MB / 0.8596 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.272, allocations: 0.7396 MB / 0.8604 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000724/1.273, allocations: 124 kB / 0.8605 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006834/1.274, allocations: 0.5704 MB / 0.861 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/1.278, allocations: 2.07 MB / 0.8631 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00751/1.285, allocations: 5.921 MB / 0.8688 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.297, allocations: 8.717 MB / 0.8774 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/1.297, allocations: 40 kB / 0.8774 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.3371/1.634, allocations: 8.43 MB / 0.8856 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.634, allocations: 65.69 kB / 0.8857 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002612/1.635, allocations: 135.5 kB / 0.8858 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/1.637, allocations: 0.9016 MB / 0.8867 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004985/1.642, allocations: 1.426 MB / 0.8881 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008594/1.651, allocations: 7.245 MB / 0.8952 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.657, allocations: 335.2 kB / 0.8955 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/1.658, allocations: 381.9 kB / 0.8959 GB, free: 123.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (754): * Single equations (assignments): 749 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005629/1.664, allocations: 2.482 MB / 0.8983 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009875/1.665, allocations: 416.2 kB / 0.8987 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/1.671, allocations: 3.162 MB / 0.9018 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-05/1.671, allocations: 23.47 kB / 0.9018 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/1.671, allocations: 10.44 kB / 0.9018 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/1.671, allocations: 11 kB / 0.9018 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.69, allocations: 8.434 MB / 0.91 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/1.69, allocations: 1.281 kB / 0.91 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.691, allocations: 292.7 kB / 0.9103 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/1.694, allocations: 0.6868 MB / 0.911 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/1.694, allocations: 33.22 kB / 0.911 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008074/1.702, allocations: 6.562 MB / 0.9174 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.702, allocations: 4.344 kB / 0.9174 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008118/1.71, allocations: 5.579 MB / 0.9229 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.712, allocations: 456.3 kB / 0.9233 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/1.712, allocations: 36.22 kB / 0.9234 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.713, allocations: 96.73 kB / 0.9234 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/1.714, allocations: 111.3 kB / 0.9236 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.714, allocations: 51.33 kB / 0.9236 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00483/1.719, allocations: 2.934 MB / 0.9265 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.62e-07/1.719, allocations: 3.969 kB / 0.9265 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006181/1.725, allocations: 1.129 MB / 0.9276 GB, free: 114.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (141): * Single equations (assignments): 136 * 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.0005201/1.725, allocations: 171.2 kB / 0.9277 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008186/1.734, allocations: 5.288 MB / 0.9329 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.734, allocations: 0 / 0.9329 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002743/1.736, allocations: 1.776 MB / 0.9346 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004501/1.741, allocations: 0.549 MB / 0.9352 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/1.765, allocations: 12.73 MB / 0.9476 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005516/1.771, allocations: 3.858 MB / 0.9514 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005456/1.776, allocations: 2 MB / 0.9533 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008037/1.777, allocations: 272.7 kB / 0.9536 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.777, allocations: 0 / 0.9536 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.07564/1.853, allocations: 39.21 MB / 0.9919 GB, free: 79.43 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches