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.008849/0.008849, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.703 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.3468/0.3468, allocations: 43.5 MB / 313.5 MB, free: 8.516 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.001414/0.001414, allocations: 67.91 kB / 382 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1319, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3218/0.4537, allocations: 70.15 MB / 0.498 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03792/0.4917, allocations: 14.02 MB / 0.5117 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/0.5101, allocations: 305.8 kB / 0.512 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009588/0.5198, allocations: 4.23 MB / 0.5161 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008505/0.5283, allocations: 2.122 MB / 0.5182 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.5313, allocations: 0.8493 MB / 0.519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01547/0.5467, allocations: 8.486 MB / 0.5273 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007438/0.5542, allocations: 5.15 MB / 0.5324 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006516/0.5608, allocations: 1.935 MB / 0.5343 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00609/0.5669, allocations: 3.143 MB / 0.5373 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.5684, allocations: 340 kB / 0.5376 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.5723, allocations: 1.28 MB / 0.5389 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003326/0.5756, allocations: 2.521 MB / 0.5414 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005186/0.5808, allocations: 2.854 MB / 0.5441 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.5937, allocations: 9.163 MB / 0.5531 GB, free: 13.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5937, allocations: 0 / 0.5531 GB, free: 13.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5938, allocations: 4 kB / 0.5531 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003791/0.5941, allocations: 0 / 0.5531 GB, free: 13.3 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.01834/0.6125, allocations: 6.331 MB / 0.5593 GB, free: 6.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.6126, allocations: 8.031 kB / 0.5593 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.6244, allocations: 2.602 MB / 0.5618 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009336/0.6338, allocations: 3.981 MB / 0.5657 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.6342, allocations: 312.5 kB / 0.566 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.6364, allocations: 412.1 kB / 0.5664 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/0.6629, allocations: 11.98 MB / 0.5781 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002969/0.6633, allocations: 55.52 kB / 0.5782 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.6648, allocations: 195.8 kB / 0.5783 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004606/0.6694, allocations: 2.202 MB / 0.5805 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02486/0.6943, allocations: 10.14 MB / 0.5904 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.358/1.052, allocations: 47.15 MB / 0.6364 GB, free: 114 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/1.062, allocations: 4.37 MB / 0.6407 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/1.066, allocations: 2.509 MB / 0.6432 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0147/1.08, allocations: 9.973 MB / 0.6529 GB, free: 109.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/1.08, allocations: 58.52 kB / 0.6529 GB, free: 109.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.971e-06/1.08, allocations: 0 / 0.6529 GB, free: 109.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05661/1.137, allocations: 20.8 MB / 0.6733 GB, free: 101.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.137, allocations: 206.6 kB / 0.6735 GB, free: 101.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009672/1.147, allocations: 4.825 MB / 0.6782 GB, free: 99.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006683/1.148, allocations: 60.86 kB / 0.6782 GB, free: 99.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.151, allocations: 3.716 MB / 0.6819 GB, free: 96.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001516/1.152, allocations: 0.8174 MB / 0.6827 GB, free: 96.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/1.155, allocations: 1.382 MB / 0.684 GB, free: 95.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/1.155, allocations: 307.7 kB / 0.6843 GB, free: 95.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004309/1.159, allocations: 2.549 MB / 0.6868 GB, free: 94.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/1.164, allocations: 6.518 MB / 0.6932 GB, free: 88.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009394/1.174, allocations: 9.73 MB / 0.7027 GB, free: 80.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.174, allocations: 39.22 kB / 0.7027 GB, free: 80.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01594/1.19, allocations: 10.19 MB / 0.7126 GB, free: 74.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/1.19, allocations: 64 kB / 0.7127 GB, free: 74.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/1.19, allocations: 140 kB / 0.7128 GB, free: 74.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004153/1.194, allocations: 1.605 MB / 0.7144 GB, free: 72.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00474/1.199, allocations: 1.558 MB / 0.7159 GB, free: 71.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009857/1.209, allocations: 9.359 MB / 0.7251 GB, free: 61.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006973/1.216, allocations: 382.7 kB / 0.7254 GB, free: 61.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.217, allocations: 404 kB / 0.7258 GB, free: 60.81 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 (828): * Single equations (assignments): 823 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004047/1.221, allocations: 2.567 MB / 0.7283 GB, free: 58.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009692/1.222, allocations: 426.5 kB / 0.7287 GB, free: 57.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/1.229, allocations: 4.545 MB / 0.7332 GB, free: 53.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/1.23, allocations: 21.92 kB / 0.7332 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/1.23, allocations: 8 kB / 0.7332 GB, free: 53.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/1.23, allocations: 11.95 kB / 0.7332 GB, free: 53.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/1.246, allocations: 10.32 MB / 0.7433 GB, free: 42.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.246, allocations: 0 / 0.7433 GB, free: 42.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.248, allocations: 331.5 kB / 0.7436 GB, free: 42.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/1.251, allocations: 1.36 MB / 0.7449 GB, free: 41.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/1.252, allocations: 32 kB / 0.745 GB, free: 41.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009185/1.261, allocations: 8.739 MB / 0.7535 GB, free: 32.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.261, allocations: 4 kB / 0.7535 GB, free: 32.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009991/1.271, allocations: 7.469 MB / 0.7608 GB, free: 24.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.273, allocations: 0.7689 MB / 0.7615 GB, free: 23.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005501/1.273, allocations: 43.69 kB / 0.7616 GB, free: 23.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.275, allocations: 131.8 kB / 0.7617 GB, free: 23.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/1.275, allocations: 121.1 kB / 0.7618 GB, free: 23.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.276, allocations: 59.94 kB / 0.7619 GB, free: 23.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003854/1.279, allocations: 3.045 MB / 0.7649 GB, free: 20.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.279, allocations: 0 / 0.7649 GB, free: 20.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005631/1.285, allocations: 1.256 MB / 0.7661 GB, free: 19.21 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 (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.0004007/1.285, allocations: 176.1 kB / 0.7663 GB, free: 19.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008665/1.294, allocations: 6.286 MB / 0.7724 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.294, allocations: 0 / 0.7724 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/1.297, allocations: 2.155 MB / 0.7745 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/1.301, allocations: 0.5294 MB / 0.775 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.323, allocations: 14.3 MB / 0.789 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005733/1.329, allocations: 4.004 MB / 0.7929 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005722/1.335, allocations: 2.079 MB / 0.7949 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/1.336, allocations: 283.4 kB / 0.7952 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/1.336, allocations: 0 / 0.7952 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.3436/1.679, allocations: 45.42 MB / 0.8395 GB, free: 171.2 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (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) 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