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.001605/0.001605, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001615/0.001615, allocations: 169 kB / 24.24 MB, free: 308 kB / 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.9894/0.9894, allocations: 158.6 MB / 186 MB, free: 2.906 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.1418/0.1418, allocations: 32.37 MB / 270.7 MB, free: 14.76 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 1.102e-06/1.102e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.823e-05, allocations: 10.25 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01002/0.01005, allocations: 13.83 MB / 361.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.02227, allocations: 4.564 MB / 366.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.0262, allocations: 111.4 kB / 366.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009847/0.03605, allocations: 4.54 MB / 370.7 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008763/0.04481, allocations: 2.422 MB / 373.2 MB, free: 188 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.04764, allocations: 1.025 MB / 374.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008368/0.05601, allocations: 6.581 MB / 380.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005128/0.06114, allocations: 4.801 MB / 385.6 MB, free: 3.695 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.0653, allocations: 3.395 MB / 389 MB, free: 300 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/0.06857, allocations: 3.281 MB / 392.2 MB, free: 13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006161/0.06919, allocations: 0.4961 MB / 392.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.07081, allocations: 1.334 MB / 394.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.07256, allocations: 2.852 MB / 396.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.07419, allocations: 1.823 MB / 398.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.0794, allocations: 6.162 MB / 404.9 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.0794, allocations: 0 / 404.9 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0794, allocations: 0 / 404.9 MB, free: 308 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.416e-05/0.07949, allocations: 0 / 404.9 MB, free: 308 kB / 330.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.007713/0.0872, allocations: 6.923 MB / 411.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.08724, allocations: 8.031 kB / 411.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00663/0.09387, allocations: 3.29 MB / 415.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/0.09818, allocations: 3.506 MB / 418.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.09834, allocations: 312.5 kB / 418.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.09889, allocations: 444.6 kB / 419.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/0.1078, allocations: 7.348 MB / 426.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.1079, allocations: 55.53 kB / 426.8 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003603/0.1083, allocations: 195.8 kB / 427 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002228/0.1105, allocations: 2.21 MB / 429.2 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007797/0.1183, allocations: 3.956 MB / 433.1 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1946/0.3129, allocations: 49.85 MB / 483 MB, free: 64.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/0.3182, allocations: 2.395 MB / 485.4 MB, free: 64.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.3192, allocations: 0.8331 MB / 486.2 MB, free: 63.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007376/0.3266, allocations: 6.62 MB / 492.8 MB, free: 60.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.3267, allocations: 60.08 kB / 492.9 MB, free: 60.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=192): time 5.43e-06/0.3267, allocations: 0 / 492.9 MB, free: 60.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.02617/0.3528, allocations: 14.79 MB / 0.4958 GB, free: 48.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.3529, allocations: 205.2 kB / 0.496 GB, free: 48.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.3561, allocations: 4.141 MB / 0.5 GB, free: 44.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.3562, allocations: 57.7 kB / 0.5001 GB, free: 44.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.3576, allocations: 4.052 MB / 0.504 GB, free: 40.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.358, allocations: 0.8897 MB / 0.5049 GB, free: 39.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.3591, allocations: 1.488 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.3591, allocations: 476.8 kB / 0.5068 GB, free: 37.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.3603, allocations: 0.8293 MB / 0.5076 GB, free: 37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.3629, allocations: 6.763 MB / 0.5142 GB, free: 27.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.3676, allocations: 8.307 MB / 0.5223 GB, free: 16.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-05/0.3677, allocations: 40 kB / 0.5224 GB, free: 16.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.008072/0.3757, allocations: 6.731 MB / 0.5289 GB, free: 9.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.3758, allocations: 68 kB / 0.529 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.581e-05/0.3759, allocations: 136 kB / 0.5291 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.3782, allocations: 1.134 MB / 0.5302 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.3806, allocations: 1.56 MB / 0.5318 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/0.3855, allocations: 6.522 MB / 0.5381 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.3889, allocations: 447 kB / 0.5386 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004808/0.3894, allocations: 410 kB / 0.539 GB, free: 15.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.001983/0.3913, allocations: 0.7141 MB / 0.5397 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006129/0.392, allocations: 467.2 kB / 0.5401 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.3958, allocations: 2.402 MB / 0.5424 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.3958, allocations: 24 kB / 0.5425 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.3958, allocations: 8 kB / 0.5425 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.3958, allocations: 23.83 kB / 0.5425 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.406, allocations: 6.892 MB / 0.5492 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.4061, allocations: 4.188 kB / 0.5492 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.4069, allocations: 343.5 kB / 0.5496 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.4091, allocations: 0.8885 MB / 0.5504 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.4093, allocations: 35.94 kB / 0.5505 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.4148, allocations: 5.775 MB / 0.5561 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4148, allocations: 0 / 0.5561 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005106/0.4199, allocations: 3.518 MB / 0.5595 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.421, allocations: 0.6884 MB / 0.5602 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/0.4213, allocations: 40 kB / 0.5602 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.4225, allocations: 191.7 kB / 0.5604 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4227, allocations: 141.7 kB / 0.5606 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.4228, allocations: 59.5 kB / 0.5606 GB, free: 8.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00232/0.4252, allocations: 1.834 MB / 0.5624 GB, free: 6.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4252, allocations: 4 kB / 0.5624 GB, free: 6.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004408/0.4296, allocations: 1.422 MB / 0.5638 GB, free: 5.531 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.0004163/0.43, allocations: 205.1 kB / 0.564 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005441/0.4354, allocations: 3.873 MB / 0.5678 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4354, allocations: 3.984 kB / 0.5678 GB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.4369, allocations: 1.251 MB / 0.569 GB, free: 164 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4385, allocations: 0.4984 MB / 0.5695 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.451, allocations: 9.637 MB / 0.5789 GB, free: 5.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.4524, allocations: 1.592 MB / 0.5805 GB, free: 4.332 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002731/0.4551, allocations: 1.744 MB / 0.5822 GB, free: 2.586 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.4557, allocations: 272.4 kB / 0.5824 GB, free: 2.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/0.4557, allocations: 4 kB / 0.5824 GB, free: 2.316 MB / 426.7 MB Notification: Performance of Templates: time 0.2134/0.6691, allocations: 42.44 MB / 0.6239 GB, free: 165.7 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.803027400979772]