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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 71.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3994, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01619/0.4156, allocations: 13.43 MB / 0.5441 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4272, allocations: 4.542 MB / 0.5485 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.4302, allocations: 89.59 kB / 0.5486 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007424/0.4376, allocations: 4.168 MB / 0.5527 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.4443, allocations: 2.183 MB / 0.5548 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.4473, allocations: 0.9203 MB / 0.5557 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.458, allocations: 6.073 MB / 0.5617 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008866/0.4669, allocations: 5.174 MB / 0.5667 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004722/0.4716, allocations: 2.095 MB / 0.5688 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.4777, allocations: 2.808 MB / 0.5715 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002932/0.4807, allocations: 468 kB / 0.5719 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.4852, allocations: 1.342 MB / 0.5733 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004369/0.4896, allocations: 2.513 MB / 0.5757 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007004/0.4966, allocations: 2.824 MB / 0.5785 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.5103, allocations: 9.014 MB / 0.5873 GB, free: 7.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.5104, allocations: 0 / 0.5873 GB, free: 7.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5104, allocations: 0 / 0.5873 GB, free: 7.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004036/0.5108, allocations: 0 / 0.5873 GB, free: 7.898 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.02225/0.5331, allocations: 6.067 MB / 0.5932 GB, free: 1.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5331, allocations: 11.97 kB / 0.5932 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.5466, allocations: 2.572 MB / 0.5957 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.5575, allocations: 3.813 MB / 0.5994 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.5579, allocations: 296.1 kB / 0.5997 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.5599, allocations: 407.8 kB / 0.6001 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/0.5873, allocations: 11.28 MB / 0.6111 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003505/0.5877, allocations: 55.53 kB / 0.6112 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002129/0.5898, allocations: 187.9 kB / 0.6114 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004047/0.5939, allocations: 2.018 MB / 0.6133 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.617, allocations: 9.537 MB / 0.6226 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07975/0.6968, allocations: 44.91 MB / 0.6665 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.7086, allocations: 4.143 MB / 0.6705 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005083/0.7137, allocations: 2.343 MB / 0.6728 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02932/0.7431, allocations: 9.379 MB / 0.682 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.237e-05/0.7433, allocations: 51.5 kB / 0.682 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 8.486e-06/0.7433, allocations: 0 / 0.682 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.08093/0.8242, allocations: 19.31 MB / 0.7009 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.8244, allocations: 201.2 kB / 0.7011 GB, free: 0.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009969/0.8344, allocations: 4.689 MB / 0.7057 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006369/0.8351, allocations: 53.7 kB / 0.7057 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003708/0.8388, allocations: 3.552 MB / 0.7092 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.8404, allocations: 0.7444 MB / 0.7099 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003422/0.8439, allocations: 1.321 MB / 0.7112 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.844, allocations: 313.1 kB / 0.7115 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.8476, allocations: 2.375 MB / 0.7138 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3521/1.2, allocations: 6.207 MB / 0.7199 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.211, allocations: 9.217 MB / 0.7289 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003156/1.212, allocations: 38.62 kB / 0.7289 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02038/1.232, allocations: 9.703 MB / 0.7384 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.232, allocations: 62.44 kB / 0.7385 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/1.233, allocations: 132.8 kB / 0.7386 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004161/1.237, allocations: 1.598 MB / 0.7402 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005746/1.242, allocations: 1.469 MB / 0.7416 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/1.254, allocations: 10 MB / 0.7514 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/1.26, allocations: 359.3 kB / 0.7517 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.261, allocations: 384.8 kB / 0.7521 GB, free: 140.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (787): * Single equations (assignments): 782 * 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.004569/1.266, allocations: 2.473 MB / 0.7545 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000909/1.267, allocations: 401.7 kB / 0.7549 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006647/1.273, allocations: 4.168 MB / 0.7589 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/1.273, allocations: 20 kB / 0.759 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.273, allocations: 8 kB / 0.759 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.273, allocations: 7.969 kB / 0.759 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.288, allocations: 9.514 MB / 0.7683 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.288, allocations: 0 / 0.7683 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.29, allocations: 295.5 kB / 0.7685 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00351/1.293, allocations: 1.355 MB / 0.7699 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/1.293, allocations: 36 kB / 0.7699 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009244/1.303, allocations: 9.376 MB / 0.7791 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.303, allocations: 3.938 kB / 0.7791 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009404/1.312, allocations: 6.883 MB / 0.7858 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.313, allocations: 448 kB / 0.7862 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/1.314, allocations: 32 kB / 0.7862 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.315, allocations: 111.8 kB / 0.7863 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/1.316, allocations: 125.1 kB / 0.7865 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.316, allocations: 47.98 kB / 0.7865 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003731/1.32, allocations: 2.96 MB / 0.7894 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.32, allocations: 4 kB / 0.7894 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005635/1.325, allocations: 1.171 MB / 0.7905 GB, free: 101.1 MB / 0.5606 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 (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.0004478/1.326, allocations: 161.5 kB / 0.7907 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008203/1.334, allocations: 5.898 MB / 0.7965 GB, free: 95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.334, allocations: 1.812 kB / 0.7965 GB, free: 95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002662/1.337, allocations: 1.979 MB / 0.7984 GB, free: 93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/1.34, allocations: 0.5343 MB / 0.7989 GB, free: 92.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.357, allocations: 10.95 MB / 0.8096 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/1.361, allocations: 3.818 MB / 0.8133 GB, free: 77.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003968/1.365, allocations: 1.98 MB / 0.8153 GB, free: 75.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/1.366, allocations: 267.4 kB / 0.8155 GB, free: 75.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/1.366, allocations: 0 / 0.8155 GB, free: 75.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.06983/1.436, allocations: 41.56 MB / 0.8561 GB, free: 34.09 MB / 0.5606 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches