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.001352/0.001352, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.0009833/0.0009833, allocations: 173 kB / 24.06 MB, free: 448 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.8775/0.8775, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1308/0.1308, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.623e-06/1.623e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.144e-05, allocations: 2.312 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.009599/0.00962, allocations: 13.48 MB / 361.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007222/0.01684, allocations: 4.544 MB / 366.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.01814, allocations: 111.4 kB / 366.3 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.02227, allocations: 4.474 MB / 370.7 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.02559, allocations: 2.426 MB / 373.2 MB, free: 20 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.02694, allocations: 1.033 MB / 374.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006249/0.03319, allocations: 6.591 MB / 380.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/0.03738, allocations: 4.793 MB / 385.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004082/0.04146, allocations: 4.02 MB / 389.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.04464, allocations: 3.266 MB / 392.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006461/0.04528, allocations: 0.4961 MB / 393.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.047, allocations: 1.338 MB / 394.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.04877, allocations: 2.852 MB / 397.6 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.0505, allocations: 1.819 MB / 399.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005522/0.05602, allocations: 6.178 MB / 405.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.05602, allocations: 0 / 405.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.05602, allocations: 0 / 405.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.949e-05/0.05611, allocations: 0 / 405.6 MB, free: 15.5 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.007301/0.06341, allocations: 6.688 MB / 412.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.06346, allocations: 8.031 kB / 412.3 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00527/0.06873, allocations: 2.296 MB / 414.5 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.07203, allocations: 2.968 MB / 417.5 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.07219, allocations: 312.5 kB / 417.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000525/0.07272, allocations: 440.7 kB / 418.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007358/0.08007, allocations: 6.671 MB / 424.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.553e-05/0.08017, allocations: 55.53 kB / 425 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.08048, allocations: 195.8 kB / 425.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00157/0.08205, allocations: 1.941 MB / 427.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.08699, allocations: 2.961 MB / 430.1 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2083/0.2952, allocations: 49.68 MB / 479.8 MB, free: 58.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/0.2992, allocations: 1.786 MB / 481.5 MB, free: 58.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.2998, allocations: 0.5496 MB / 482.1 MB, free: 58.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005238/0.3051, allocations: 4.665 MB / 486.8 MB, free: 57.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3051, allocations: 53.27 kB / 486.8 MB, free: 57.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=162): time 3.126e-06/0.3051, allocations: 0 / 486.8 MB, free: 57.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=178): time 0.0133/0.3184, allocations: 6.327 MB / 493.1 MB, free: 56.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3185, allocations: 196 kB / 493.3 MB, free: 56.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.3219, allocations: 4.245 MB / 497.6 MB, free: 54.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.322, allocations: 49.7 kB / 497.6 MB, free: 54.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.3235, allocations: 4.18 MB / 0.49 GB, free: 50.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.3239, allocations: 0.7561 MB / 0.4908 GB, free: 49.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.3249, allocations: 1.506 MB / 0.4922 GB, free: 48.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.3249, allocations: 484.7 kB / 0.4927 GB, free: 47.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00085/0.3258, allocations: 0.6102 MB / 0.4933 GB, free: 47.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.3283, allocations: 6.858 MB / 0.5 GB, free: 37.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004766/0.333, allocations: 8.123 MB / 0.5079 GB, free: 26.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.704e-05/0.3331, allocations: 40 kB / 0.508 GB, free: 26.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.005643/0.3387, allocations: 5.429 MB / 0.5133 GB, free: 21.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.3388, allocations: 75.33 kB / 0.5133 GB, free: 21.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.3389, allocations: 148 kB / 0.5135 GB, free: 21.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.3396, allocations: 408.6 kB / 0.5139 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.3418, allocations: 1.536 MB / 0.5154 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3441, allocations: 4.785 MB / 0.5201 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.3468, allocations: 299.7 kB / 0.5203 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.347, allocations: 360 kB / 0.5207 GB, free: 13.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 670 * 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 (844): * Single equations (assignments): 839 * 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.001732/0.3488, allocations: 0.7233 MB / 0.5214 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.3492, allocations: 453.3 kB / 0.5218 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.3504, allocations: 1.116 MB / 0.5229 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.3504, allocations: 20 kB / 0.5229 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3504, allocations: 4 kB / 0.5229 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3504, allocations: 11.97 kB / 0.5229 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/0.3569, allocations: 5.433 MB / 0.5282 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.3569, allocations: 8 kB / 0.5283 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.3575, allocations: 279.4 kB / 0.5285 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/0.358, allocations: 211.3 kB / 0.5287 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.3581, allocations: 39.98 kB / 0.5288 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.3597, allocations: 3.869 MB / 0.5325 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3597, allocations: 15.7 kB / 0.5326 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.3619, allocations: 2.318 MB / 0.5348 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/0.3626, allocations: 0.5322 MB / 0.5353 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.3629, allocations: 39.98 kB / 0.5354 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.3635, allocations: 40 kB / 0.5354 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.3637, allocations: 127.7 kB / 0.5355 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.3638, allocations: 47.98 kB / 0.5356 GB, free: 13.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00166/0.3655, allocations: 1.738 MB / 0.5373 GB, free: 12.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 0.5373 GB, free: 12.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003862/0.3693, allocations: 1.223 MB / 0.5385 GB, free: 10.83 MB / 394.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 (151): * Single equations (assignments): 146 * 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.0003683/0.3697, allocations: 205.2 kB / 0.5387 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.3736, allocations: 3.172 MB / 0.5418 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3736, allocations: 0 / 0.5418 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.3745, allocations: 0.8653 MB / 0.5426 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.376, allocations: 0.5015 MB / 0.5431 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3887, allocations: 9.283 MB / 0.5522 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.3903, allocations: 1.565 MB / 0.5537 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001357/0.3917, allocations: 0.5573 MB / 0.5542 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009723/0.3927, allocations: 0.6699 MB / 0.5549 GB, free: 9.773 MB / 410.7 MB Notification: Performance of SimCode: time 2.364e-06/0.3927, allocations: 0 / 0.5549 GB, free: 9.773 MB / 410.7 MB Notification: Performance of Templates: time 0.05479/0.4475, allocations: 34.04 MB / 0.5881 GB, free: 7.84 MB / 442.7 MB " [Timeout remaining time 660] 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.188913194928318]