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.0013/0.0013, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 8.375 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3369/0.4786, allocations: 63.85 MB / 0.5341 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03429/0.5129, allocations: 13.07 MB / 0.5469 GB, free: 64 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01458/0.5276, allocations: 286.3 kB / 0.5471 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.5295, allocations: 0.4935 MB / 0.5476 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.5352, allocations: 2.015 MB / 0.5496 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.537, allocations: 0.8589 MB / 0.5504 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009443/0.5464, allocations: 8.741 MB / 0.559 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009856/0.5563, allocations: 7.309 MB / 0.5661 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.5597, allocations: 1.498 MB / 0.5676 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/0.5634, allocations: 2.542 MB / 0.57 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006404/0.5641, allocations: 176 kB / 0.5702 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.5664, allocations: 1.115 MB / 0.5713 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.5685, allocations: 2.178 MB / 0.5734 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003056/0.5716, allocations: 2.443 MB / 0.5758 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.5818, allocations: 8.393 MB / 0.584 GB, free: 15.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.5818, allocations: 4 kB / 0.584 GB, free: 15.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5818, allocations: 3.938 kB / 0.584 GB, free: 15.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003417/0.5822, allocations: 0 / 0.584 GB, free: 15.37 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: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.0147/0.5969, allocations: 4.972 MB / 0.5889 GB, free: 10.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.597, allocations: 12.88 kB / 0.5889 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.61, allocations: 2.63 MB / 0.5915 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008876/0.6189, allocations: 3.738 MB / 0.5951 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.6192, allocations: 296.1 kB / 0.5954 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.6204, allocations: 408 kB / 0.5958 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.6393, allocations: 11.3 MB / 0.6068 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.6395, allocations: 63.42 kB / 0.6069 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004942/0.64, allocations: 187.8 kB / 0.6071 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.6434, allocations: 2.022 MB / 0.609 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/0.6621, allocations: 9.563 MB / 0.6184 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/0.7194, allocations: 45.15 MB / 0.6625 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.7298, allocations: 4.161 MB / 0.6665 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003328/0.7332, allocations: 2.343 MB / 0.6688 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.7484, allocations: 9.383 MB / 0.678 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.7485, allocations: 59.5 kB / 0.678 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 5.48e-06/0.7485, allocations: 0 / 0.678 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.05428/0.8028, allocations: 19.32 MB / 0.6969 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.803, allocations: 209.2 kB / 0.6971 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007139/0.8102, allocations: 4.697 MB / 0.7017 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004913/0.8107, allocations: 49.7 kB / 0.7017 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003114/0.8138, allocations: 3.548 MB / 0.7052 GB, free: 444 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.2681/1.082, allocations: 0.7394 MB / 0.7059 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/1.084, allocations: 0.5614 MB / 0.7065 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/1.084, allocations: 302.8 kB / 0.7068 GB, free: 182 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004904/1.089, allocations: 2.387 MB / 0.7091 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007282/1.096, allocations: 6.214 MB / 0.7152 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.107, allocations: 9.243 MB / 0.7242 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002418/1.108, allocations: 38.78 kB / 0.7242 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02225/1.13, allocations: 9.705 MB / 0.7337 GB, free: 165 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.13, allocations: 59.09 kB / 0.7338 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.13, allocations: 134.7 kB / 0.7339 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/1.134, allocations: 1.603 MB / 0.7355 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/1.139, allocations: 1.474 MB / 0.7369 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.15, allocations: 9.361 MB / 0.746 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/1.155, allocations: 363.5 kB / 0.7464 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008317/1.156, allocations: 387.7 kB / 0.7467 GB, free: 158.7 MB / 0.5294 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.003901/1.16, allocations: 2.455 MB / 0.7491 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006965/1.16, allocations: 406.6 kB / 0.7495 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007093/1.168, allocations: 4.186 MB / 0.7536 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/1.168, allocations: 20 kB / 0.7536 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.168, allocations: 8 kB / 0.7536 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.168, allocations: 7.969 kB / 0.7537 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.184, allocations: 9.572 MB / 0.763 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.184, allocations: 0 / 0.763 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.185, allocations: 295.5 kB / 0.7633 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/1.189, allocations: 1.355 MB / 0.7646 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/1.189, allocations: 33.75 kB / 0.7646 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009023/1.198, allocations: 8.738 MB / 0.7732 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.198, allocations: 5.719 kB / 0.7732 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009404/1.207, allocations: 6.896 MB / 0.7799 GB, free: 126 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.209, allocations: 467.6 kB / 0.7804 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/1.209, allocations: 28 kB / 0.7804 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.211, allocations: 127.8 kB / 0.7805 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/1.211, allocations: 113.1 kB / 0.7806 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.211, allocations: 48 kB / 0.7807 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003584/1.215, allocations: 2.96 MB / 0.7836 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.215, allocations: 3.828 kB / 0.7836 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004876/1.22, allocations: 1.182 MB / 0.7847 GB, free: 121.1 MB / 0.5294 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.000359/1.22, allocations: 157.7 kB / 0.7849 GB, free: 121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007743/1.228, allocations: 5.882 MB / 0.7906 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.228, allocations: 2 kB / 0.7906 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.23, allocations: 1.987 MB / 0.7925 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/1.234, allocations: 0.5067 MB / 0.793 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.253, allocations: 13.55 MB / 0.8063 GB, free: 98.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004008/1.257, allocations: 3.814 MB / 0.81 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004761/1.261, allocations: 1.984 MB / 0.8119 GB, free: 93.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007328/1.262, allocations: 263.4 kB / 0.8122 GB, free: 92.88 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/1.262, allocations: 0 / 0.8122 GB, free: 92.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.06898/1.331, allocations: 42.54 MB / 0.8537 GB, free: 50.52 MB / 0.5294 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