Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.28 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 174.1 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3557/0.3557, allocations: 43.55 MB / 314.5 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005366, allocations: 16 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.262/0.3807, allocations: 60.06 MB / 0.491 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02828/0.4091, allocations: 14 MB / 0.5047 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/0.4211, allocations: 302.9 kB / 0.505 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.4334, allocations: 3.007 MB / 0.5079 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03193/0.4654, allocations: 8.596 MB / 0.5163 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.4706, allocations: 0.7959 MB / 0.5171 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04094/0.5116, allocations: 26.6 MB / 0.5431 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009866/0.5215, allocations: 6.557 MB / 0.5495 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.5242, allocations: 1.39 MB / 0.5508 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.5264, allocations: 1.846 MB / 0.5526 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000496/0.527, allocations: 192 kB / 0.5528 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.5288, allocations: 0.9558 MB / 0.5538 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.5305, allocations: 2.1 MB / 0.5558 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009851/0.5315, allocations: 1.096 MB / 0.5569 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009165/0.5407, allocations: 7.528 MB / 0.5642 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5407, allocations: 0 / 0.5642 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5408, allocations: 3.938 kB / 0.5642 GB, free: 3.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003308/0.5411, allocations: 0 / 0.5642 GB, free: 3.5 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01386/0.555, allocations: 5.548 MB / 0.5697 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.555, allocations: 8.031 kB / 0.5697 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04104/0.5961, allocations: 8.028 MB / 0.5775 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.6064, allocations: 4.257 MB / 0.5817 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.6068, allocations: 316 kB / 0.582 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.6082, allocations: 427.6 kB / 0.5824 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02207/0.6302, allocations: 11.95 MB / 0.594 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.6305, allocations: 55.52 kB / 0.5941 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005098/0.631, allocations: 195.8 kB / 0.5943 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003546/0.6345, allocations: 2.199 MB / 0.5964 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/0.6552, allocations: 10 MB / 0.6062 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3053/0.9605, allocations: 46.74 MB / 0.6518 GB, free: 111.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009598/0.9702, allocations: 4.26 MB / 0.656 GB, free: 110.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/0.9856, allocations: 9.68 MB / 0.6655 GB, free: 107.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.9857, allocations: 49.97 kB / 0.6655 GB, free: 107.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.36e-06/0.9857, allocations: 0 / 0.6655 GB, free: 107.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05403/1.04, allocations: 19.42 MB / 0.6845 GB, free: 99.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.04, allocations: 201.1 kB / 0.6847 GB, free: 99.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/1.053, allocations: 5.06 MB / 0.6896 GB, free: 97.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000684/1.054, allocations: 58.8 kB / 0.6897 GB, free: 97.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004211/1.058, allocations: 3.76 MB / 0.6933 GB, free: 94.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.06, allocations: 0.8071 MB / 0.6941 GB, free: 94.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/1.061, allocations: 129.8 kB / 0.6942 GB, free: 94.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007845/1.062, allocations: 0.5786 MB / 0.6948 GB, free: 93.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/1.068, allocations: 2.31 MB / 0.6971 GB, free: 92.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006613/1.074, allocations: 6.231 MB / 0.7032 GB, free: 86.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/1.082, allocations: 3.717 MB / 0.7068 GB, free: 85.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001923/1.082, allocations: 36.94 kB / 0.7068 GB, free: 85.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.02197/1.104, allocations: 9.126 MB / 0.7157 GB, free: 81.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/1.104, allocations: 66.97 kB / 0.7158 GB, free: 81.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/1.105, allocations: 138.2 kB / 0.7159 GB, free: 81.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/1.107, allocations: 1.099 MB / 0.717 GB, free: 81.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.113, allocations: 1.489 MB / 0.7185 GB, free: 79.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/1.121, allocations: 8.209 MB / 0.7265 GB, free: 71.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006392/1.128, allocations: 363.5 kB / 0.7268 GB, free: 70.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.129, allocations: 396.4 kB / 0.7272 GB, free: 70.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (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 (788): * Single equations (assignments): 783 * 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.005794/1.135, allocations: 2.564 MB / 0.7297 GB, free: 67.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.136, allocations: 430.4 kB / 0.7301 GB, free: 67.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006938/1.143, allocations: 3.809 MB / 0.7338 GB, free: 63.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/1.143, allocations: 24 kB / 0.7338 GB, free: 63.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.143, allocations: 11.89 kB / 0.7339 GB, free: 63.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.143, allocations: 15.97 kB / 0.7339 GB, free: 63.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.159, allocations: 9.608 MB / 0.7433 GB, free: 54.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.159, allocations: 0 / 0.7433 GB, free: 54.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.161, allocations: 340.4 kB / 0.7436 GB, free: 53.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.163, allocations: 0.8445 MB / 0.7444 GB, free: 52.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.163, allocations: 39.98 kB / 0.7444 GB, free: 52.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007087/1.17, allocations: 7.536 MB / 0.7518 GB, free: 44.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.17, allocations: 0 / 0.7518 GB, free: 44.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008217/1.179, allocations: 6.638 MB / 0.7583 GB, free: 38.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/1.181, allocations: 0.7688 MB / 0.759 GB, free: 37.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007309/1.182, allocations: 32 kB / 0.7591 GB, free: 37.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.183, allocations: 119.9 kB / 0.7592 GB, free: 37.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/1.184, allocations: 125.1 kB / 0.7593 GB, free: 37.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.184, allocations: 59.27 kB / 0.7594 GB, free: 37.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004068/1.188, allocations: 3.231 MB / 0.7625 GB, free: 33.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.188, allocations: 4 kB / 0.7625 GB, free: 33.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006187/1.194, allocations: 1.216 MB / 0.7637 GB, free: 32.75 MB / 494.1 MB 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 (163): * Single equations (assignments): 158 * 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.0005629/1.195, allocations: 183.6 kB / 0.7639 GB, free: 32.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00799/1.203, allocations: 5.834 MB / 0.7696 GB, free: 26.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.203, allocations: 3.938 kB / 0.7696 GB, free: 26.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/1.205, allocations: 2.03 MB / 0.7716 GB, free: 24.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.208, allocations: 0.5403 MB / 0.7721 GB, free: 24.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.227, allocations: 13.44 MB / 0.7852 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/1.231, allocations: 4.107 MB / 0.7892 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004701/1.236, allocations: 2.104 MB / 0.7913 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007893/1.236, allocations: 291.4 kB / 0.7916 GB, free: 4.152 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/1.236, allocations: 0 / 0.7916 GB, free: 4.152 MB / 494.1 MB Notification: Performance of Templates: time 0.2806/1.517, allocations: 42.89 MB / 0.8334 GB, free: 154.1 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches