Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001191/0.001191, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001096/0.001096, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 71.92 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.3702/0.5043, allocations: 69.5 MB / 0.5254 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03739/0.5417, allocations: 13.93 MB / 0.539 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01771/0.5595, allocations: 309.5 kB / 0.5393 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008408/0.5679, allocations: 4.203 MB / 0.5434 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.5747, allocations: 2.044 MB / 0.5454 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.5773, allocations: 0.8544 MB / 0.5462 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.5897, allocations: 8.743 MB / 0.5548 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.6001, allocations: 5.082 MB / 0.5597 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.606, allocations: 1.869 MB / 0.5616 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005479/0.6116, allocations: 3.026 MB / 0.5645 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001734/0.6133, allocations: 328 kB / 0.5648 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.6173, allocations: 1.283 MB / 0.5661 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003742/0.6211, allocations: 2.431 MB / 0.5685 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006095/0.6272, allocations: 2.75 MB / 0.5711 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.6396, allocations: 8.805 MB / 0.5797 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6397, allocations: 0 / 0.5797 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6397, allocations: 0 / 0.5797 GB, free: 2.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003373/0.64, allocations: 0 / 0.5797 GB, free: 2.789 MB / 414.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.01697/0.657, allocations: 6.122 MB / 0.5857 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.6571, allocations: 12.03 kB / 0.5857 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.669, allocations: 2.56 MB / 0.5882 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009293/0.6784, allocations: 3.82 MB / 0.592 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/0.6787, allocations: 300.1 kB / 0.5923 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/0.68, allocations: 408.1 kB / 0.5926 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.7014, allocations: 11.46 MB / 0.6038 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.7016, allocations: 59.5 kB / 0.6039 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006443/0.7023, allocations: 187.9 kB / 0.6041 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.7056, allocations: 2.085 MB / 0.6061 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.7246, allocations: 9.694 MB / 0.6156 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05996/0.7846, allocations: 45.53 MB / 0.66 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.7954, allocations: 4.134 MB / 0.6641 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/0.7988, allocations: 2.346 MB / 0.6664 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/0.8147, allocations: 9.399 MB / 0.6755 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/0.8148, allocations: 55.44 kB / 0.6756 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 5.12e-06/0.8148, allocations: 0 / 0.6756 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.05383/0.8686, allocations: 19.35 MB / 0.6945 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.8688, allocations: 201.2 kB / 0.6947 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007024/0.8758, allocations: 4.709 MB / 0.6993 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000481/0.8763, allocations: 53.7 kB / 0.6993 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002533/0.8789, allocations: 3.595 MB / 0.7028 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.8799, allocations: 0.7406 MB / 0.7036 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3/1.18, allocations: 1.326 MB / 0.7049 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/1.18, allocations: 305.1 kB / 0.7052 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004718/1.185, allocations: 2.383 MB / 0.7075 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006544/1.191, allocations: 6.237 MB / 0.7136 GB, free: 184.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.203, allocations: 9.246 MB / 0.7226 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002392/1.203, allocations: 42.44 kB / 0.7226 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.02176/1.225, allocations: 9.716 MB / 0.7321 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.225, allocations: 61.09 kB / 0.7322 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/1.225, allocations: 136.8 kB / 0.7323 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/1.229, allocations: 1.603 MB / 0.7339 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/1.234, allocations: 1.474 MB / 0.7353 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.244, allocations: 9.358 MB / 0.7445 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.25, allocations: 362 kB / 0.7448 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007946/1.251, allocations: 388.6 kB / 0.7452 GB, free: 167.2 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 (790): * Single equations (assignments): 785 * 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.003675/1.254, allocations: 2.487 MB / 0.7476 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007273/1.255, allocations: 411.8 kB / 0.748 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/1.262, allocations: 4.17 MB / 0.7521 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-05/1.262, allocations: 23.83 kB / 0.7521 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.262, allocations: 8 kB / 0.7521 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.262, allocations: 7.969 kB / 0.7521 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/1.276, allocations: 9.619 MB / 0.7615 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.276, allocations: 0 / 0.7615 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.278, allocations: 283.6 kB / 0.7618 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/1.281, allocations: 1.363 MB / 0.7631 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.281, allocations: 31.98 kB / 0.7631 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008847/1.29, allocations: 8.726 MB / 0.7717 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.29, allocations: 4 kB / 0.7717 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008849/1.299, allocations: 6.888 MB / 0.7784 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.3, allocations: 455.7 kB / 0.7788 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/1.301, allocations: 31.98 kB / 0.7789 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.302, allocations: 119.8 kB / 0.779 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/1.302, allocations: 113.1 kB / 0.7791 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.303, allocations: 48 kB / 0.7791 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003759/1.306, allocations: 2.968 MB / 0.782 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.306, allocations: 4 kB / 0.782 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00616/1.313, allocations: 1.192 MB / 0.7832 GB, free: 129.4 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.0004562/1.313, allocations: 165.2 kB / 0.7833 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00804/1.321, allocations: 5.888 MB / 0.7891 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.321, allocations: 0.7344 kB / 0.7891 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.324, allocations: 1.98 MB / 0.791 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/1.327, allocations: 0.507 MB / 0.7915 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/1.343, allocations: 13.59 MB / 0.8048 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/1.346, allocations: 3.855 MB / 0.8086 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004719/1.351, allocations: 1.988 MB / 0.8105 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/1.352, allocations: 275.4 kB / 0.8108 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.413e-06/1.352, allocations: 0 / 0.8108 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.06792/1.42, allocations: 43.54 MB / 0.8533 GB, free: 57.79 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches