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.0008862/0.0008861, allocations: 95.33 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2719/0.2719, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 11.94 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 63.55 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3247/0.4639, allocations: 63.85 MB / 0.5341 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03623/0.5002, allocations: 13.08 MB / 0.5469 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01665/0.5168, allocations: 284.8 kB / 0.5472 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.5193, allocations: 0.4928 MB / 0.5476 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007523/0.5268, allocations: 2.022 MB / 0.5496 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.5295, allocations: 0.8509 MB / 0.5504 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01245/0.542, allocations: 8.744 MB / 0.559 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.5551, allocations: 7.309 MB / 0.5661 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.5596, allocations: 1.494 MB / 0.5676 GB, free: 152 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005067/0.5647, allocations: 2.55 MB / 0.5701 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.5662, allocations: 176 kB / 0.5702 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.5701, allocations: 1.115 MB / 0.5713 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003654/0.5738, allocations: 2.166 MB / 0.5734 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005195/0.579, allocations: 2.451 MB / 0.5758 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.5908, allocations: 8.393 MB / 0.584 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5908, allocations: 0 / 0.584 GB, free: 15.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.5909, allocations: 4 kB / 0.584 GB, free: 15.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003788/0.5912, allocations: 0 / 0.584 GB, free: 15.23 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.0132/0.6045, allocations: 4.979 MB / 0.5889 GB, free: 10.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.6045, allocations: 8.875 kB / 0.5889 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.618, allocations: 2.63 MB / 0.5915 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00988/0.6279, allocations: 3.738 MB / 0.5951 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.6284, allocations: 304 kB / 0.5954 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.63, allocations: 408 kB / 0.5958 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02822/0.6582, allocations: 11.3 MB / 0.6068 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/0.6586, allocations: 59.44 kB / 0.6069 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/0.6604, allocations: 187.8 kB / 0.6071 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00392/0.6643, allocations: 2.026 MB / 0.6091 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.6863, allocations: 9.562 MB / 0.6184 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06485/0.7512, allocations: 45.15 MB / 0.6625 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.7629, allocations: 4.157 MB / 0.6665 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003927/0.7668, allocations: 2.346 MB / 0.6688 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01818/0.785, allocations: 9.387 MB / 0.678 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.7851, allocations: 51.5 kB / 0.6781 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 4.9e-06/0.7851, allocations: 4 kB / 0.6781 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.06055/0.8457, allocations: 19.33 MB / 0.6969 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.8459, allocations: 209.2 kB / 0.6971 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009857/0.8557, allocations: 4.689 MB / 0.7017 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005162/0.8563, allocations: 53.7 kB / 0.7018 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003246/0.8596, allocations: 3.552 MB / 0.7052 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.318/1.178, allocations: 0.7379 MB / 0.7059 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/1.18, allocations: 0.5651 MB / 0.7065 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/1.18, allocations: 301.9 kB / 0.7068 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005368/1.185, allocations: 2.384 MB / 0.7091 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006055/1.191, allocations: 6.214 MB / 0.7152 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/1.204, allocations: 9.241 MB / 0.7242 GB, free: 168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003108/1.204, allocations: 39.47 kB / 0.7242 GB, free: 168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0221/1.226, allocations: 9.699 MB / 0.7337 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/1.227, allocations: 63.81 kB / 0.7338 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.227, allocations: 136.1 kB / 0.7339 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/1.231, allocations: 1.607 MB / 0.7355 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/1.235, allocations: 1.473 MB / 0.7369 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009819/1.245, allocations: 9.355 MB / 0.7461 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.25, allocations: 371.8 kB / 0.7464 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006424/1.25, allocations: 384.8 kB / 0.7468 GB, free: 158.6 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.003487/1.254, allocations: 2.455 MB / 0.7492 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007366/1.254, allocations: 414 kB / 0.7496 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/1.262, allocations: 4.177 MB / 0.7536 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/1.262, allocations: 20 kB / 0.7537 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.262, allocations: 8 kB / 0.7537 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.262, allocations: 11.97 kB / 0.7537 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/1.281, allocations: 9.575 MB / 0.763 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.281, allocations: 2.125 kB / 0.763 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.282, allocations: 287.5 kB / 0.7633 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003659/1.286, allocations: 1.359 MB / 0.7646 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/1.286, allocations: 39.75 kB / 0.7647 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008922/1.295, allocations: 8.741 MB / 0.7732 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.295, allocations: 1.688 kB / 0.7732 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009564/1.305, allocations: 6.885 MB / 0.7799 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.306, allocations: 471.6 kB / 0.7804 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/1.307, allocations: 28 kB / 0.7804 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.308, allocations: 123.6 kB / 0.7805 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/1.309, allocations: 121.1 kB / 0.7806 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.309, allocations: 48 kB / 0.7807 GB, free: 125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003728/1.313, allocations: 2.956 MB / 0.7836 GB, free: 122 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/1.313, allocations: 0 / 0.7836 GB, free: 122 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005644/1.318, allocations: 1.176 MB / 0.7847 GB, free: 120.8 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.0004468/1.319, allocations: 165.6 kB / 0.7849 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008325/1.327, allocations: 5.883 MB / 0.7906 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.327, allocations: 192 / 0.7906 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/1.33, allocations: 1.984 MB / 0.7926 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/1.333, allocations: 0.5033 MB / 0.7931 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.35, allocations: 13.56 MB / 0.8063 GB, free: 98.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/1.354, allocations: 3.814 MB / 0.81 GB, free: 94.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004632/1.358, allocations: 1.984 MB / 0.812 GB, free: 92.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007521/1.359, allocations: 259.4 kB / 0.8122 GB, free: 92.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/1.359, allocations: 0 / 0.8122 GB, free: 92.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.07214/1.431, allocations: 42.55 MB / 0.8538 GB, free: 50.23 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