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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005128/0.005128, allocations: 155.8 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8651/0.8651, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2523/0.2523, allocations: 34.25 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.186e-05, allocations: 2.281 kB / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.169/0.169, allocations: 11.73 MB / 455.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.174, allocations: 4.352 MB / 459.5 MB, free: 34.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.1751, allocations: 109.1 kB / 459.6 MB, free: 34.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.1782, allocations: 4.278 MB / 463.9 MB, free: 32.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.1806, allocations: 2.257 MB / 466.2 MB, free: 31.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1817, allocations: 1.012 MB / 467.2 MB, free: 31.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003639/0.1853, allocations: 6.826 MB / 474 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.1879, allocations: 4.5 MB / 478.5 MB, free: 26.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.1902, allocations: 3.208 MB / 481.7 MB, free: 25.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.1931, allocations: 3.041 MB / 484.7 MB, free: 24.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006542/0.1938, allocations: 478.4 kB / 485.2 MB, free: 24.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.1954, allocations: 1.299 MB / 486.5 MB, free: 24.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.1971, allocations: 2.677 MB / 489.2 MB, free: 23.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.1986, allocations: 1.704 MB / 490.9 MB, free: 22.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00888/0.2075, allocations: 9.166 MB / 0.4883 GB, free: 18.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2075, allocations: 0 / 0.4883 GB, free: 18.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2075, allocations: 1.094 kB / 0.4883 GB, free: 18.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001592/0.2077, allocations: 0 / 0.4883 GB, free: 18.61 MB / 410.7 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.008767/0.2164, allocations: 6.194 MB / 0.4944 GB, free: 14.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2165, allocations: 9.312 kB / 0.4944 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005921/0.2224, allocations: 2.693 MB / 0.497 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.2269, allocations: 3.737 MB / 0.5007 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.2271, allocations: 296.9 kB / 0.501 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004866/0.2276, allocations: 399.8 kB / 0.5013 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009772/0.2373, allocations: 11.37 MB / 0.5124 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.465e-05/0.2374, allocations: 51.58 kB / 0.5125 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.2378, allocations: 187.9 kB / 0.5127 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.2397, allocations: 2.022 MB / 0.5146 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.2513, allocations: 9.508 MB / 0.5239 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03329/0.2846, allocations: 41.47 MB / 0.5644 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005695/0.2903, allocations: 3.683 MB / 0.568 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.292, allocations: 2.18 MB / 0.5701 GB, free: 2.047 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008878/0.3009, allocations: 8.612 MB / 0.5786 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.301, allocations: 55.5 kB / 0.5786 GB, free: 9.336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 3.296e-06/0.301, allocations: 0 / 0.5786 GB, free: 9.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.03026/0.3312, allocations: 20.07 MB / 0.5982 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.3313, allocations: 201.2 kB / 0.5984 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.3358, allocations: 4.63 MB / 0.6029 GB, free: 336 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.3359, allocations: 49.7 kB / 0.603 GB, free: 280 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.3374, allocations: 3.678 MB / 0.6066 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.3379, allocations: 0.7637 MB / 0.6073 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.339, allocations: 1.31 MB / 0.6086 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003111/0.3394, allocations: 309.1 kB / 0.6089 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.3415, allocations: 2.375 MB / 0.6112 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/0.3455, allocations: 6.269 MB / 0.6173 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006793/0.3523, allocations: 9.218 MB / 0.6263 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.86e-05/0.3523, allocations: 36 kB / 0.6264 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.1888/0.5411, allocations: 9.651 MB / 0.6358 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.5412, allocations: 63.66 kB / 0.6358 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-05/0.5412, allocations: 135.7 kB / 0.636 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.5435, allocations: 1.596 MB / 0.6375 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.5458, allocations: 1.466 MB / 0.639 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/0.5525, allocations: 9.696 MB / 0.6484 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/0.5555, allocations: 422.5 kB / 0.6488 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.5559, allocations: 394.9 kB / 0.6492 GB, free: 141.3 MB / 0.5261 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.002986/0.5589, allocations: 2.451 MB / 0.6516 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004387/0.5593, allocations: 389.8 kB / 0.652 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/0.5635, allocations: 4.111 MB / 0.656 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5635, allocations: 20.94 kB / 0.656 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5635, allocations: 8.906 kB / 0.656 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5635, allocations: 9.75 kB / 0.656 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/0.5734, allocations: 8.31 MB / 0.6642 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5734, allocations: 1.281 kB / 0.6642 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.5742, allocations: 290.5 kB / 0.6644 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.5763, allocations: 1.358 MB / 0.6658 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/0.5764, allocations: 35.78 kB / 0.6658 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007388/0.5838, allocations: 9.139 MB / 0.6747 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5838, allocations: 5.031 kB / 0.6747 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007183/0.591, allocations: 6.84 MB / 0.6814 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/0.5917, allocations: 401.3 kB / 0.6818 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.592, allocations: 31.47 kB / 0.6818 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009393/0.5929, allocations: 169.1 kB / 0.682 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.5931, allocations: 130.7 kB / 0.6821 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.5932, allocations: 46.03 kB / 0.6821 GB, free: 128 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002967/0.5962, allocations: 2.748 MB / 0.6848 GB, free: 127 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5962, allocations: 0 / 0.6848 GB, free: 127 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004129/0.6003, allocations: 1.329 MB / 0.6861 GB, free: 126.9 MB / 0.5261 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.0003771/0.6007, allocations: 181 kB / 0.6863 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00523/0.6059, allocations: 5.653 MB / 0.6918 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6059, allocations: 0 / 0.6918 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.6075, allocations: 1.859 MB / 0.6936 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.609, allocations: 0.4929 MB / 0.6941 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.621, allocations: 11.62 MB / 0.7055 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/0.6234, allocations: 3.266 MB / 0.7086 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.6241, allocations: 304.4 kB / 0.7089 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/0.6241, allocations: 0 / 0.7089 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.0774/0.7015, allocations: 113.6 MB / 0.8198 GB, free: 11.69 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.132357753813267]