Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.0009598/0.0009598, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001157/0.001157, allocations: 165.5 kB / 24.91 MB, free: 8.762 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.9488/0.9488, allocations: 177 MB / 205.2 MB, free: 5.078 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.2581/0.2581, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.GearConstraint,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.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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.082e-05, allocations: 6.25 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.009922/0.009943, allocations: 12.81 MB / 338.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00765/0.01759, allocations: 4.649 MB / 343.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.01934, allocations: 107.4 kB / 343.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.02415, allocations: 4.419 MB / 348 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.02925, allocations: 2.243 MB / 350.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.03097, allocations: 1.049 MB / 351.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007488/0.03846, allocations: 6.857 MB / 358.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005881/0.04434, allocations: 4.549 MB / 362.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006308/0.05065, allocations: 4.141 MB / 366.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004499/0.05515, allocations: 2.981 MB / 369.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.05627, allocations: 487.9 kB / 370.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.05857, allocations: 1.334 MB / 371.6 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002334/0.0609, allocations: 2.7 MB / 374.3 MB, free: 6.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.06309, allocations: 1.722 MB / 376 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006542/0.06963, allocations: 5.847 MB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.06963, allocations: 4 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.06963, allocations: 3.938 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001868/0.06982, allocations: 0 / 381.9 MB, free: 14.98 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.008651/0.07847, allocations: 5.735 MB / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.07851, allocations: 16.03 kB / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.08326, allocations: 1.429 MB / 389 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.08725, allocations: 2.65 MB / 391.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.08739, allocations: 300.1 kB / 392 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/0.08787, allocations: 428.6 kB / 392.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007364/0.09523, allocations: 5.808 MB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.09537, allocations: 51.61 kB / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/0.09571, allocations: 183.9 kB / 398.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001433/0.09714, allocations: 1.777 MB / 400.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005476/0.1026, allocations: 2.863 MB / 403.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/0.1321, allocations: 34.61 MB / 437.7 MB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.136, allocations: 1.708 MB / 439.4 MB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.1365, allocations: 407.7 kB / 439.8 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1461/0.2826, allocations: 4.108 MB / 443.9 MB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.2826, allocations: 52.3 kB / 444 MB, free: 109.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 3.407e-06/0.2826, allocations: 0 / 444 MB, free: 109.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01157/0.2942, allocations: 5.35 MB / 449.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.2943, allocations: 198.1 kB / 449.5 MB, free: 109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.2969, allocations: 3.703 MB / 453.2 MB, free: 108.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.993e-05/0.297, allocations: 51.61 kB / 453.3 MB, free: 108.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.298, allocations: 3.49 MB / 456.7 MB, free: 106.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.2983, allocations: 0.6546 MB / 457.4 MB, free: 106.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008027/0.2991, allocations: 1.244 MB / 458.6 MB, free: 106.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.452e-05/0.2992, allocations: 307.3 kB / 458.9 MB, free: 105.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.3001, allocations: 0.7625 MB / 459.7 MB, free: 105.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.3019, allocations: 4.697 MB / 464.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.3053, allocations: 5.988 MB / 470.4 MB, free: 93.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.132e-05/0.3053, allocations: 40 kB / 470.4 MB, free: 93.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.004554/0.3099, allocations: 4.415 MB / 474.8 MB, free: 89.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.3099, allocations: 64 kB / 474.9 MB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.701e-05/0.31, allocations: 144 kB / 475 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/0.3107, allocations: 406.9 kB / 475.4 MB, free: 89.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.3129, allocations: 1.54 MB / 477 MB, free: 87.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.3151, allocations: 3.556 MB / 480.5 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.318, allocations: 295.7 kB / 480.8 MB, free: 83.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.3182, allocations: 341.1 kB / 481.2 MB, free: 83.46 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.001229/0.3195, allocations: 0.664 MB / 481.8 MB, free: 82.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.3198, allocations: 247.7 kB / 482.1 MB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009218/0.3208, allocations: 0.8642 MB / 482.9 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3208, allocations: 16 kB / 482.9 MB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3208, allocations: 4 kB / 482.9 MB, free: 81.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3208, allocations: 11.58 kB / 483 MB, free: 81.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.3252, allocations: 4.22 MB / 487.2 MB, free: 77.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3252, allocations: 4 kB / 487.2 MB, free: 77.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.3258, allocations: 275.6 kB / 487.5 MB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006388/0.3264, allocations: 422.1 kB / 487.9 MB, free: 76.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.3265, allocations: 31.98 kB / 487.9 MB, free: 76.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.3279, allocations: 2.785 MB / 490.7 MB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3279, allocations: 8 kB / 490.7 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3294, allocations: 1.781 MB / 492.5 MB, free: 71.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.3298, allocations: 353.3 kB / 492.8 MB, free: 71.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.3301, allocations: 35.97 kB / 492.8 MB, free: 71.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.3307, allocations: 36 kB / 492.9 MB, free: 71.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.3308, allocations: 116.6 kB / 493 MB, free: 71.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.3309, allocations: 39.98 kB / 493 MB, free: 71.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.3319, allocations: 1.39 MB / 494.4 MB, free: 69.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3319, allocations: 0 / 494.4 MB, free: 69.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00417/0.3361, allocations: 1.144 MB / 495.6 MB, free: 68.6 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.0003733/0.3365, allocations: 156.5 kB / 495.7 MB, free: 68.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.3398, allocations: 2.713 MB / 498.4 MB, free: 65.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001605/0.34, allocations: 104.2 kB / 498.5 MB, free: 65.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.3406, allocations: 0.6501 MB / 499.2 MB, free: 64.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.3435, allocations: 0.7362 MB / 499.9 MB, free: 64.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.354, allocations: 8.617 MB / 0.4966 GB, free: 55.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.355, allocations: 1.468 MB / 0.4981 GB, free: 53.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001433/0.3565, allocations: 0.5386 MB / 0.4986 GB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/0.3572, allocations: 0.5909 MB / 0.4992 GB, free: 52.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3572, allocations: 0 / 0.4992 GB, free: 52.82 MB / 410.7 MB Notification: Performance of Templates: time 0.04472/0.4019, allocations: 31.93 MB / 0.5303 GB, free: 21.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.9796497812494636]