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.001109/0.001109, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001248/0.001248, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9867/0.9867, allocations: 177 MB / 204.8 MB, free: 5.578 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.2909/0.2909, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.924e-06/1.924e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.464e-05, allocations: 4.844 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01552/0.01555, allocations: 13.05 MB / 391.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.0265, allocations: 4.477 MB / 396.3 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/0.03032, allocations: 111.4 kB / 396.4 MB, free: 384 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007881/0.0382, allocations: 4.502 MB / 400.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.04509, allocations: 2.255 MB / 403.2 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.04784, allocations: 1.029 MB / 404.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.05812, allocations: 6.827 MB / 411 MB, free: 1.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008035/0.06615, allocations: 4.637 MB / 415.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007769/0.07392, allocations: 3.232 MB / 418.9 MB, free: 9.777 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006175/0.0801, allocations: 3.149 MB / 422 MB, free: 6.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.08194, allocations: 480 kB / 422.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.08539, allocations: 1.295 MB / 423.8 MB, free: 4.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003816/0.08921, allocations: 2.696 MB / 426.5 MB, free: 2.152 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.09326, allocations: 1.714 MB / 428.2 MB, free: 444 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.105, allocations: 5.812 MB / 434 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1051, allocations: 0 / 434 MB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1051, allocations: 0 / 434 MB, free: 10.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003146/0.1054, allocations: 0 / 434 MB, free: 10.6 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.01424/0.1196, allocations: 6.609 MB / 440.6 MB, free: 3.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1197, allocations: 11.97 kB / 440.6 MB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007447/0.1271, allocations: 3.157 MB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1699/0.297, allocations: 3.371 MB / 447.2 MB, free: 91.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.2972, allocations: 294.7 kB / 447.5 MB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007856/0.298, allocations: 397.6 kB / 447.9 MB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009982/0.308, allocations: 6.87 MB / 454.7 MB, free: 88.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.3081, allocations: 50.47 kB / 454.8 MB, free: 88.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004469/0.3086, allocations: 191.2 kB / 455 MB, free: 88.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001868/0.3104, allocations: 2.026 MB / 457 MB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008026/0.3184, allocations: 3.562 MB / 460.5 MB, free: 87.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03453/0.353, allocations: 47.86 MB / 0.4965 GB, free: 49.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005693/0.3587, allocations: 2.116 MB / 0.4986 GB, free: 48.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.36, allocations: 0.7302 MB / 0.4993 GB, free: 48.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008918/0.369, allocations: 5.943 MB / 0.5051 GB, free: 45.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.369, allocations: 56.81 kB / 0.5051 GB, free: 45.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 4.819e-06/0.369, allocations: 0 / 0.5051 GB, free: 45.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.0281/0.3971, allocations: 13.73 MB / 0.5185 GB, free: 37.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3972, allocations: 205.2 kB / 0.5187 GB, free: 37.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.4009, allocations: 4.055 MB / 0.5227 GB, free: 33.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.4012, allocations: 49.7 kB / 0.5227 GB, free: 33.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.4026, allocations: 3.865 MB / 0.5265 GB, free: 30.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008806/0.4035, allocations: 0.7946 MB / 0.5273 GB, free: 29.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/0.4052, allocations: 1.417 MB / 0.5287 GB, free: 28.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.4053, allocations: 488.5 kB / 0.5291 GB, free: 27.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.4071, allocations: 0.7591 MB / 0.5299 GB, free: 27.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003602/0.4107, allocations: 6.477 MB / 0.5362 GB, free: 18.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004808/0.4155, allocations: 7.917 MB / 0.5439 GB, free: 7.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.112e-05/0.4156, allocations: 40 kB / 0.544 GB, free: 7.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01129/0.4269, allocations: 6.4 MB / 0.5502 GB, free: 1.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.427, allocations: 60 kB / 0.5503 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/0.4271, allocations: 136 kB / 0.5504 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/0.4306, allocations: 1.117 MB / 0.5515 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00448/0.4351, allocations: 1.466 MB / 0.5529 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008452/0.4435, allocations: 6.189 MB / 0.559 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/0.4493, allocations: 417.9 kB / 0.5594 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/0.4504, allocations: 384 kB / 0.5597 GB, free: 7.32 MB / 426.7 MB 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.002565/0.453, allocations: 0.7003 MB / 0.5604 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.454, allocations: 437.4 kB / 0.5608 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.4591, allocations: 2.168 MB / 0.563 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/0.4592, allocations: 21.64 kB / 0.563 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.4592, allocations: 8 kB / 0.563 GB, free: 3.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4592, allocations: 11.91 kB / 0.563 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.471, allocations: 6.337 MB / 0.5692 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4711, allocations: 0 / 0.5692 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.4719, allocations: 291.5 kB / 0.5695 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002687/0.4746, allocations: 0.8869 MB / 0.5703 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.4747, allocations: 32 kB / 0.5704 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/0.4807, allocations: 5.782 MB / 0.576 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4807, allocations: 7.984 kB / 0.576 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/0.4864, allocations: 3.22 MB / 0.5792 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.4875, allocations: 389.2 kB / 0.5795 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/0.4879, allocations: 37.58 kB / 0.5796 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.489, allocations: 167.7 kB / 0.5797 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.4893, allocations: 129 kB / 0.5799 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-05/0.4894, allocations: 53.23 kB / 0.5799 GB, free: 2.359 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00268/0.4921, allocations: 1.785 MB / 0.5816 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4921, allocations: 0 / 0.5816 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004608/0.4967, allocations: 1.324 MB / 0.5829 GB, free: 15.24 MB / 458.7 MB 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.0004817/0.4972, allocations: 174.2 kB / 0.5831 GB, free: 15.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006237/0.5034, allocations: 3.607 MB / 0.5866 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5034, allocations: 1.812 kB / 0.5866 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.505, allocations: 1.156 MB / 0.5878 GB, free: 10.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.5075, allocations: 495.4 kB / 0.5882 GB, free: 9.781 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.5219, allocations: 9.037 MB / 0.5971 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/0.524, allocations: 1.501 MB / 0.5985 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003366/0.5273, allocations: 1.665 MB / 0.6002 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/0.5281, allocations: 260.4 kB / 0.6004 GB, free: 13.19 MB / 474.7 MB Notification: Performance of SimCode: time 2.715e-06/0.5281, allocations: 0 / 0.6004 GB, free: 13.19 MB / 474.7 MB Notification: Performance of Templates: time 0.1996/0.7277, allocations: 40.15 MB / 0.6396 GB, free: 133.1 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.825743929017335]