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.001361/0.001361, allocations: 92.48 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 45.92 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3279/0.4615, allocations: 59.54 MB / 0.5282 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03891/0.5004, allocations: 13.92 MB / 0.5418 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01849/0.519, allocations: 302 kB / 0.5421 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01322/0.5322, allocations: 2.99 MB / 0.545 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03419/0.5665, allocations: 8.53 MB / 0.5534 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005097/0.5716, allocations: 0.7971 MB / 0.5542 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07109/0.6427, allocations: 48.55 MB / 0.6016 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.6539, allocations: 6.477 MB / 0.6079 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.6585, allocations: 1.339 MB / 0.6092 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.6627, allocations: 1.756 MB / 0.6109 GB, free: 2.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009546/0.6637, allocations: 187.9 kB / 0.6111 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.667, allocations: 0.9402 MB / 0.612 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002866/0.6699, allocations: 2.018 MB / 0.614 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.6719, allocations: 1.049 MB / 0.615 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009583/0.6815, allocations: 7.213 MB / 0.6221 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6815, allocations: 0 / 0.6221 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.6815, allocations: 0 / 0.6221 GB, free: 7.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003428/0.6819, allocations: 4 kB / 0.6221 GB, free: 7.344 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.0148/0.6967, allocations: 5.386 MB / 0.6273 GB, free: 1.887 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.6967, allocations: 8.031 kB / 0.6273 GB, free: 1.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04487/0.7416, allocations: 8.036 MB / 0.6352 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.7534, allocations: 3.869 MB / 0.6389 GB, free: 5.902 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.7538, allocations: 299.8 kB / 0.6392 GB, free: 5.609 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/0.7556, allocations: 403.7 kB / 0.6396 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02408/0.7797, allocations: 11.45 MB / 0.6508 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/0.78, allocations: 63.38 kB / 0.6509 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006097/0.7806, allocations: 191.8 kB / 0.651 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00365/0.7842, allocations: 2.085 MB / 0.6531 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.8051, allocations: 9.558 MB / 0.6624 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3455/1.151, allocations: 45.11 MB / 0.7065 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/1.162, allocations: 4.034 MB / 0.7104 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/1.181, allocations: 9.072 MB / 0.7193 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.046e-05/1.181, allocations: 56.09 kB / 0.7193 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 6.522e-06/1.181, allocations: 0 / 0.7193 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.04628/1.228, allocations: 18.23 MB / 0.7371 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/1.228, allocations: 206.1 kB / 0.7373 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/1.234, allocations: 4.932 MB / 0.7421 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003216/1.234, allocations: 58.05 kB / 0.7422 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.236, allocations: 3.629 MB / 0.7457 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006938/1.237, allocations: 0.7409 MB / 0.7465 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/1.237, allocations: 126.8 kB / 0.7466 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002533/1.237, allocations: 0.5745 MB / 0.7471 GB, free: 159 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/1.24, allocations: 2.136 MB / 0.7492 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/1.244, allocations: 5.953 MB / 0.755 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/1.248, allocations: 3.507 MB / 0.7585 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.742e-05/1.248, allocations: 40 kB / 0.7585 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01241/1.26, allocations: 8.662 MB / 0.767 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/1.26, allocations: 66.19 kB / 0.767 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/1.261, allocations: 132 kB / 0.7671 GB, free: 139 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/1.263, allocations: 1.09 MB / 0.7682 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/1.268, allocations: 1.419 MB / 0.7696 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008212/1.276, allocations: 8.191 MB / 0.7776 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/1.281, allocations: 345.6 kB / 0.7779 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00085/1.282, allocations: 385.4 kB / 0.7783 GB, free: 127.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.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 (750): * Single equations (assignments): 745 * 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.003594/1.286, allocations: 2.47 MB / 0.7807 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009581/1.287, allocations: 418.6 kB / 0.7811 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/1.292, allocations: 3.433 MB / 0.7845 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/1.292, allocations: 27.05 kB / 0.7845 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.292, allocations: 4 kB / 0.7845 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/1.292, allocations: 11.91 kB / 0.7845 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/1.308, allocations: 8.906 MB / 0.7932 GB, free: 112 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.308, allocations: 7.953 kB / 0.7932 GB, free: 112 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.31, allocations: 287.5 kB / 0.7935 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/1.312, allocations: 0.8545 MB / 0.7943 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.312, allocations: 33.02 kB / 0.7943 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007338/1.32, allocations: 7.533 MB / 0.8017 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.32, allocations: 4.062 kB / 0.8017 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00778/1.328, allocations: 6.046 MB / 0.8076 GB, free: 96.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.329, allocations: 467.6 kB / 0.8081 GB, free: 96.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006677/1.33, allocations: 28 kB / 0.8081 GB, free: 96.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.331, allocations: 107.9 kB / 0.8082 GB, free: 96.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/1.332, allocations: 121.1 kB / 0.8083 GB, free: 96.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.332, allocations: 51.05 kB / 0.8083 GB, free: 96.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004333/1.336, allocations: 3.157 MB / 0.8114 GB, free: 92.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/1.336, allocations: 0 / 0.8114 GB, free: 92.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007771/1.344, allocations: 1.15 MB / 0.8126 GB, free: 91.84 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 (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.0005673/1.345, allocations: 182 kB / 0.8127 GB, free: 91.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008487/1.353, allocations: 5.435 MB / 0.818 GB, free: 86.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.353, allocations: 0 / 0.818 GB, free: 86.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.356, allocations: 1.847 MB / 0.8198 GB, free: 84.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/1.359, allocations: 0.5242 MB / 0.8203 GB, free: 83.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.379, allocations: 12.75 MB / 0.8328 GB, free: 71.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/1.383, allocations: 3.964 MB / 0.8367 GB, free: 67.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004605/1.388, allocations: 2.012 MB / 0.8386 GB, free: 65.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000886/1.389, allocations: 267.4 kB / 0.8389 GB, free: 64.76 MB / 0.5294 GB Notification: Performance of SimCode: time 1.744e-06/1.389, allocations: 4 kB / 0.8389 GB, free: 64.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.06839/1.457, allocations: 40.96 MB / 0.8789 GB, free: 24.01 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches