Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001106/0.001106, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001218/0.001218, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9162/0.9162, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.151/0.151, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.805e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.0104/0.01043, allocations: 13.89 MB / 361.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009199/0.01962, allocations: 4.583 MB / 366.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.02284, allocations: 111.4 kB / 366.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006128/0.02897, allocations: 4.548 MB / 370.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.03478, allocations: 2.414 MB / 373.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.03663, allocations: 1.037 MB / 374.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006656/0.04329, allocations: 6.583 MB / 380.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005131/0.04842, allocations: 4.797 MB / 385.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005989/0.05441, allocations: 3.395 MB / 389 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004806/0.05922, allocations: 3.281 MB / 392.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001576/0.06079, allocations: 0.4961 MB / 392.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.06349, allocations: 1.334 MB / 394.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.06614, allocations: 2.856 MB / 397 MB, free: 7.906 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.06889, allocations: 1.819 MB / 398.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007619/0.07651, allocations: 6.162 MB / 405 MB, free: 15.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.07652, allocations: 0 / 405 MB, free: 15.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07652, allocations: 0 / 405 MB, free: 15.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002083/0.07673, allocations: 0 / 405 MB, free: 15.9 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.009681/0.08641, allocations: 6.915 MB / 411.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.08646, allocations: 12.03 kB / 411.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007395/0.09386, allocations: 3.297 MB / 415.2 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006059/0.09992, allocations: 3.506 MB / 418.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.1001, allocations: 320.5 kB / 419 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008893/0.101, allocations: 440.6 kB / 419.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.1127, allocations: 7.348 MB / 426.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.1128, allocations: 55.53 kB / 426.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006668/0.1134, allocations: 195.8 kB / 427 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.1155, allocations: 2.206 MB / 429.3 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009013/0.1246, allocations: 3.948 MB / 433.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1918/0.3164, allocations: 49.87 MB / 483.1 MB, free: 56.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.3222, allocations: 2.38 MB / 485.4 MB, free: 56.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3234, allocations: 0.8374 MB / 486.3 MB, free: 56.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008428/0.3318, allocations: 6.618 MB / 492.9 MB, free: 54.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.3319, allocations: 59.14 kB / 493 MB, free: 54.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=192): time 4.328e-06/0.3319, allocations: 0.7812 kB / 493 MB, free: 54.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.02762/0.3595, allocations: 14.79 MB / 0.4959 GB, free: 45.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.3596, allocations: 205.2 kB / 0.4961 GB, free: 45.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.3637, allocations: 4.143 MB / 0.5001 GB, free: 41.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000364/0.3641, allocations: 57.7 kB / 0.5002 GB, free: 41.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.3656, allocations: 4.042 MB / 0.5041 GB, free: 37.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000805/0.3664, allocations: 0.8941 MB / 0.505 GB, free: 36.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.3676, allocations: 1.486 MB / 0.5064 GB, free: 34.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.3677, allocations: 484.7 kB / 0.5069 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.3689, allocations: 0.837 MB / 0.5077 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.3715, allocations: 6.751 MB / 0.5143 GB, free: 24.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005148/0.3767, allocations: 8.313 MB / 0.5224 GB, free: 13.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-05/0.3768, allocations: 40 kB / 0.5225 GB, free: 13.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01109/0.3878, allocations: 6.732 MB / 0.529 GB, free: 6.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.388, allocations: 64.94 kB / 0.5291 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/0.3881, allocations: 143.1 kB / 0.5292 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003717/0.3918, allocations: 1.132 MB / 0.5303 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/0.397, allocations: 1.56 MB / 0.5319 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007846/0.4048, allocations: 6.521 MB / 0.5382 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/0.4101, allocations: 447.4 kB / 0.5386 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/0.4114, allocations: 404 kB / 0.539 GB, free: 12.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (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 (834): * Single equations (assignments): 829 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002361/0.4138, allocations: 0.7164 MB / 0.5397 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.4149, allocations: 465.3 kB / 0.5402 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/0.4196, allocations: 2.413 MB / 0.5425 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.4196, allocations: 24 kB / 0.5426 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.4196, allocations: 4.938 kB / 0.5426 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4196, allocations: 11.97 kB / 0.5426 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.433, allocations: 6.893 MB / 0.5493 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.4331, allocations: 0 / 0.5493 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4341, allocations: 347.5 kB / 0.5496 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/0.4366, allocations: 0.8763 MB / 0.5505 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.4368, allocations: 39.98 kB / 0.5505 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.4431, allocations: 5.783 MB / 0.5562 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4431, allocations: 4 kB / 0.5562 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.4489, allocations: 3.516 MB / 0.5596 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.4505, allocations: 0.6962 MB / 0.5603 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/0.4509, allocations: 32 kB / 0.5603 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.4521, allocations: 195.7 kB / 0.5605 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/0.4525, allocations: 137.7 kB / 0.5606 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.4526, allocations: 58.92 kB / 0.5607 GB, free: 5.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002533/0.4552, allocations: 1.83 MB / 0.5625 GB, free: 3.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4552, allocations: 4 kB / 0.5625 GB, free: 3.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00532/0.4605, allocations: 1.432 MB / 0.5639 GB, free: 2.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.000573/0.4611, allocations: 198.5 kB / 0.5641 GB, free: 2.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007099/0.4682, allocations: 3.866 MB / 0.5679 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.4682, allocations: 4 kB / 0.5679 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.4699, allocations: 1.236 MB / 0.5691 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/0.4724, allocations: 0.5148 MB / 0.5696 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.4879, allocations: 9.643 MB / 0.579 GB, free: 2.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.4895, allocations: 1.595 MB / 0.5805 GB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003073/0.4926, allocations: 1.737 MB / 0.5822 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007311/0.4933, allocations: 272.4 kB / 0.5825 GB, free: 15.34 MB / 442.7 MB Notification: Performance of SimCode: time 2.645e-06/0.4933, allocations: 0 / 0.5825 GB, free: 15.34 MB / 442.7 MB Notification: Performance of Templates: time 0.1963/0.6896, allocations: 42.45 MB / 0.624 GB, free: 158.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.733251923695207]