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.0009732/0.0009732, allocations: 80.92 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.001076/0.001076, allocations: 167.9 kB / 24.91 MB, free: 9.184 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.937/0.937, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2486/0.2486, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.733e-06/1.733e-06, allocations: 0 / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.397e-05, allocations: 8.422 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01003/0.01005, allocations: 12.77 MB / 338 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008633/0.01869, allocations: 4.634 MB / 342.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.02054, allocations: 111.4 kB / 342.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.02473, allocations: 4.482 MB / 347.2 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.02851, allocations: 2.29 MB / 349.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.03001, allocations: 1.045 MB / 350.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007037/0.03705, allocations: 6.867 MB / 357.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005156/0.0422, allocations: 4.771 MB / 362.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004945/0.04715, allocations: 4.207 MB / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.05053, allocations: 2.989 MB / 369.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.0514, allocations: 484 kB / 369.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.05304, allocations: 1.291 MB / 371.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.05471, allocations: 2.7 MB / 373.9 MB, free: 6.836 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.0566, allocations: 1.722 MB / 375.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.06158, allocations: 5.855 MB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.06159, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06159, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001775/0.06176, allocations: 0 / 381.5 MB, free: 15.23 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.00652/0.06828, allocations: 5.735 MB / 387.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.06832, allocations: 8.031 kB / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.07159, allocations: 1.437 MB / 388.6 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.07465, allocations: 2.638 MB / 391.3 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.07478, allocations: 300.1 kB / 391.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/0.07526, allocations: 436.5 kB / 392 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006267/0.08152, allocations: 5.804 MB / 397.8 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.928e-05/0.08161, allocations: 51.61 kB / 397.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.08191, allocations: 191.9 kB / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/0.08326, allocations: 1.773 MB / 399.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004229/0.08749, allocations: 2.866 MB / 402.7 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.036/0.1235, allocations: 34.61 MB / 437.3 MB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.1274, allocations: 1.719 MB / 439 MB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.128, allocations: 410.7 kB / 439.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1578/0.2858, allocations: 4.101 MB / 443.5 MB, free: 110 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.2858, allocations: 48.95 kB / 443.5 MB, free: 110 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 3.887e-06/0.2858, allocations: 0 / 443.5 MB, free: 110 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01225/0.2981, allocations: 5.35 MB / 448.9 MB, free: 109.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2981, allocations: 192.6 kB / 449.1 MB, free: 109.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.3015, allocations: 3.711 MB / 452.8 MB, free: 109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.3016, allocations: 49.55 kB / 452.8 MB, free: 109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.3028, allocations: 3.489 MB / 456.3 MB, free: 107.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/0.3032, allocations: 0.6569 MB / 457 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008872/0.3041, allocations: 1.243 MB / 458.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.3041, allocations: 305.1 kB / 458.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.3053, allocations: 0.7688 MB / 459.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.3076, allocations: 4.697 MB / 464 MB, free: 101 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/0.3111, allocations: 5.98 MB / 470 MB, free: 94.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.003e-05/0.3112, allocations: 40 kB / 470 MB, free: 94.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=844) (initialization): time 0.004755/0.3159, allocations: 4.422 MB / 474.4 MB, free: 90.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.316, allocations: 68 kB / 474.5 MB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.518e-05/0.3161, allocations: 144.1 kB / 474.6 MB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.3167, allocations: 389.4 kB / 475 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.3189, allocations: 1.461 MB / 476.5 MB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.3208, allocations: 3.558 MB / 480 MB, free: 84.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.3237, allocations: 287.7 kB / 480.3 MB, free: 84.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.3239, allocations: 344 kB / 480.7 MB, free: 84.25 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.001351/0.3253, allocations: 0.6666 MB / 481.3 MB, free: 83.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.3257, allocations: 235.7 kB / 481.6 MB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009644/0.3267, allocations: 0.8681 MB / 482.4 MB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3267, allocations: 19.94 kB / 482.4 MB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3267, allocations: 4 kB / 482.5 MB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3267, allocations: 14.78 kB / 482.5 MB, free: 82.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.3316, allocations: 4.216 MB / 486.7 MB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.3316, allocations: 4.656 kB / 486.7 MB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.3322, allocations: 247.6 kB / 486.9 MB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006586/0.3328, allocations: 415.2 kB / 487.3 MB, free: 77.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.3329, allocations: 39.61 kB / 487.4 MB, free: 77.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.3342, allocations: 2.76 MB / 490.1 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.778e-06/0.3342, allocations: 16.94 kB / 490.2 MB, free: 74.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3359, allocations: 1.767 MB / 491.9 MB, free: 72.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.3364, allocations: 369.2 kB / 492.3 MB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/0.3367, allocations: 35.98 kB / 492.3 MB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.3373, allocations: 36.19 kB / 492.3 MB, free: 72.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.3374, allocations: 112.7 kB / 492.5 MB, free: 72.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/0.3375, allocations: 39.98 kB / 492.5 MB, free: 71.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001139/0.3386, allocations: 1.393 MB / 493.9 MB, free: 70.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3386, allocations: 0 / 493.9 MB, free: 70.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003523/0.3422, allocations: 1.141 MB / 495 MB, free: 69.43 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.0003065/0.3425, allocations: 163.8 kB / 495.2 MB, free: 69.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.3453, allocations: 2.713 MB / 497.9 MB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001383/0.3454, allocations: 104.2 kB / 498 MB, free: 66.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.346, allocations: 0.6413 MB / 498.6 MB, free: 65.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.3483, allocations: 0.7397 MB / 499.4 MB, free: 65.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009566/0.3579, allocations: 8.62 MB / 0.4961 GB, free: 56.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.359, allocations: 1.472 MB / 0.4975 GB, free: 54.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001359/0.3604, allocations: 0.534 MB / 0.4981 GB, free: 54.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007476/0.3611, allocations: 0.5988 MB / 0.4986 GB, free: 53.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/0.3611, allocations: 0 / 0.4986 GB, free: 53.63 MB / 410.7 MB Notification: Performance of Templates: time 0.04707/0.4082, allocations: 31.9 MB / 0.5298 GB, free: 22.14 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 -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.220757470931858]