Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9468/0.9468, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.622e-05, allocations: 3.891 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01686/0.01688, allocations: 12.81 MB / 338.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008818/0.0257, allocations: 4.635 MB / 342.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.02673, allocations: 111.4 kB / 342.9 MB, free: 6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005383/0.03212, allocations: 4.419 MB / 347.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.03547, allocations: 2.255 MB / 349.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.03708, allocations: 1.041 MB / 350.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.04269, allocations: 6.859 MB / 357.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003807/0.0465, allocations: 4.545 MB / 362 MB, free: 2.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.05059, allocations: 4.141 MB / 366.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.05351, allocations: 2.989 MB / 369.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.05402, allocations: 484 kB / 369.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.05595, allocations: 1.338 MB / 370.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.05777, allocations: 2.7 MB / 373.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.05915, allocations: 1.722 MB / 375.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.06434, allocations: 5.848 MB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.06435, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.06435, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.216e-05/0.06438, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.007053/0.07144, allocations: 5.735 MB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.07147, allocations: 8.031 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.07624, allocations: 1.433 MB / 388.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.07991, allocations: 2.65 MB / 391 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.0801, allocations: 300.1 kB / 391.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006325/0.08073, allocations: 432.6 kB / 391.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.08777, allocations: 5.808 MB / 397.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.08786, allocations: 47.62 kB / 397.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.08814, allocations: 195.9 kB / 397.8 MB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001346/0.08949, allocations: 1.777 MB / 399.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/0.09388, allocations: 2.856 MB / 402.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.1189, allocations: 34.62 MB / 437 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.1225, allocations: 1.717 MB / 438.7 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.123, allocations: 422.5 kB / 439.1 MB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1758/0.2988, allocations: 4.084 MB / 443.2 MB, free: 109.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.2988, allocations: 52.55 kB / 443.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 4.388e-06/0.2988, allocations: 0 / 443.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01155/0.3104, allocations: 5.345 MB / 448.6 MB, free: 109.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3104, allocations: 198 kB / 448.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.3131, allocations: 3.721 MB / 452.5 MB, free: 108.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.3131, allocations: 44.64 kB / 452.6 MB, free: 108.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009729/0.3141, allocations: 3.489 MB / 456.1 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.3144, allocations: 0.6604 MB / 456.7 MB, free: 106.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008218/0.3152, allocations: 1.239 MB / 458 MB, free: 106.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.799e-05/0.3153, allocations: 308.5 kB / 458.3 MB, free: 106 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.3163, allocations: 0.7622 MB / 459 MB, free: 106 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.3182, allocations: 4.691 MB / 463.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.3214, allocations: 5.989 MB / 469.7 MB, free: 94.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-05/0.3215, allocations: 40 kB / 469.8 MB, free: 94.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.006585/0.328, allocations: 4.42 MB / 474.2 MB, free: 90.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.3281, allocations: 68 kB / 474.2 MB, free: 90.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/0.3282, allocations: 140 kB / 474.4 MB, free: 90.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000914/0.3292, allocations: 408.4 kB / 474.8 MB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.3329, allocations: 1.525 MB / 476.3 MB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.3356, allocations: 3.574 MB / 479.9 MB, free: 84.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/0.3407, allocations: 291 kB / 480.2 MB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006525/0.3413, allocations: 340 kB / 480.5 MB, free: 84.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * 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 (804): * Single equations (assignments): 799 * 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,11,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002299/0.3436, allocations: 0.6583 MB / 481.2 MB, free: 83.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/0.3444, allocations: 243.7 kB / 481.4 MB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.346, allocations: 0.8661 MB / 482.3 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.346, allocations: 20 kB / 482.3 MB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.346, allocations: 7.938 kB / 482.3 MB, free: 82.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3461, allocations: 7.969 kB / 482.3 MB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007964/0.354, allocations: 4.223 MB / 486.5 MB, free: 78.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.354, allocations: 8 kB / 486.5 MB, free: 78.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.3551, allocations: 276.2 kB / 486.8 MB, free: 77.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009748/0.356, allocations: 419.2 kB / 487.2 MB, free: 77.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.3561, allocations: 32 kB / 487.2 MB, free: 77.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.3581, allocations: 2.771 MB / 490 MB, free: 74.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.3581, allocations: 11.94 kB / 490 MB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.3607, allocations: 1.773 MB / 491.8 MB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009335/0.3616, allocations: 369.2 kB / 492.1 MB, free: 72.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.3621, allocations: 28 kB / 492.2 MB, free: 72.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.3632, allocations: 39.98 kB / 492.2 MB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.3634, allocations: 108.7 kB / 492.3 MB, free: 72.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/0.3635, allocations: 36 kB / 492.4 MB, free: 72.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002176/0.3657, allocations: 1.397 MB / 493.8 MB, free: 70.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3657, allocations: 0 / 493.8 MB, free: 70.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005865/0.3715, allocations: 1.144 MB / 494.9 MB, free: 69.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (130): * Single equations (assignments): 125 * 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,9,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.0003863/0.3719, allocations: 164.1 kB / 495.1 MB, free: 69.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.3749, allocations: 2.713 MB / 497.8 MB, free: 66.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001363/0.375, allocations: 108.1 kB / 497.9 MB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.3755, allocations: 0.6465 MB / 498.5 MB, free: 65.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.3774, allocations: 0.731 MB / 499.3 MB, free: 65.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.3844, allocations: 8.624 MB / 0.496 GB, free: 56.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/0.3853, allocations: 1.468 MB / 0.4974 GB, free: 54.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001/0.3863, allocations: 0.5369 MB / 0.4979 GB, free: 54.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006704/0.387, allocations: 0.5948 MB / 0.4985 GB, free: 53.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.387, allocations: 0 / 0.4985 GB, free: 53.72 MB / 410.7 MB Notification: Performance of Templates: time 0.04239/0.4294, allocations: 31.92 MB / 0.5297 GB, free: 22.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.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.052728557027876]