Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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.001217/0.001217, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001561/0.001561, allocations: 160.8 kB / 25.45 MB, free: 8.855 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.8669/0.8669, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.788e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01007/0.01011, allocations: 12.41 MB / 312.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.01939, allocations: 4.47 MB / 316.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002657/0.02204, allocations: 111.4 kB / 316.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.02728, allocations: 4.326 MB / 321 MB, free: 1.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005724/0.03301, allocations: 2.41 MB / 323.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.035, allocations: 1.014 MB / 324.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007518/0.04252, allocations: 6.587 MB / 331 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006282/0.0488, allocations: 4.659 MB / 335.7 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007445/0.05625, allocations: 3.368 MB / 339.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004956/0.0612, allocations: 3.176 MB / 342.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.06272, allocations: 0.4922 MB / 342.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.06529, allocations: 1.334 MB / 344.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.06784, allocations: 2.825 MB / 346.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002725/0.07056, allocations: 1.807 MB / 348.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1843/0.2549, allocations: 9.728 MB / 358.4 MB, free: 30.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.2549, allocations: 0.625 kB / 358.4 MB, free: 30.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2549, allocations: 0 / 358.4 MB, free: 30.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003968/0.2553, allocations: 6.422 kB / 358.4 MB, free: 30.82 MB / 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.02051/0.2758, allocations: 6.474 MB / 364.9 MB, free: 28.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.2758, allocations: 13.61 kB / 364.9 MB, free: 28.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008496/0.2843, allocations: 2.737 MB / 367.6 MB, free: 27.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007921/0.2923, allocations: 3.92 MB / 371.6 MB, free: 27.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.2925, allocations: 309.3 kB / 371.9 MB, free: 27.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002203/0.2947, allocations: 446.7 kB / 372.3 MB, free: 27.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.3126, allocations: 12.3 MB / 384.6 MB, free: 21.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.3127, allocations: 60.17 kB / 384.7 MB, free: 21.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/0.3132, allocations: 193 kB / 384.9 MB, free: 21.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.3152, allocations: 2.207 MB / 387.1 MB, free: 20.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.3309, allocations: 10.52 MB / 397.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0457/0.3766, allocations: 43.71 MB / 441.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007021/0.3836, allocations: 4.131 MB / 445.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002564/0.3862, allocations: 2.463 MB / 447.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.3985, allocations: 9.635 MB / 457.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3986, allocations: 62.17 kB / 457.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=192): time 5.501e-06/0.3986, allocations: 0 / 457.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=218): time 0.03961/0.4382, allocations: 21.79 MB / 479.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.4383, allocations: 201.2 kB / 479.6 MB, free: 9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005165/0.4434, allocations: 4.792 MB / 484.4 MB, free: 4.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005925/0.444, allocations: 57.7 kB / 484.4 MB, free: 4.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.4461, allocations: 3.846 MB / 488.3 MB, free: 320 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.4472, allocations: 0.8596 MB / 489.1 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.4486, allocations: 1.385 MB / 490.5 MB, free: 14.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.4487, allocations: 301.1 kB / 490.8 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/0.4516, allocations: 2.582 MB / 493.4 MB, free: 11.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004641/0.4563, allocations: 6.606 MB / 500 MB, free: 2.676 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008535/0.4648, allocations: 9.808 MB / 0.4979 GB, free: 7.422 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/0.4649, allocations: 40 kB / 0.4979 GB, free: 7.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01561/0.4805, allocations: 10.22 MB / 0.5079 GB, free: 13.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.4806, allocations: 64 kB / 0.5079 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.4807, allocations: 140.8 kB / 0.5081 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/0.4833, allocations: 1.622 MB / 0.5097 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003407/0.4867, allocations: 1.56 MB / 0.5112 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1614/0.6481, allocations: 9.956 MB / 0.5209 GB, free: 162.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/0.6524, allocations: 455 kB / 0.5213 GB, free: 162.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009636/0.6534, allocations: 407.3 kB / 0.5217 GB, free: 162.9 MB / 458.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.004232/0.6576, allocations: 2.569 MB / 0.5242 GB, free: 162.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008691/0.6585, allocations: 404 kB / 0.5246 GB, free: 162.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005483/0.6639, allocations: 4.569 MB / 0.5291 GB, free: 161.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.664, allocations: 21 kB / 0.5291 GB, free: 161.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.664, allocations: 7.312 kB / 0.5291 GB, free: 161.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.664, allocations: 11.45 kB / 0.5291 GB, free: 161.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.676, allocations: 9.152 MB / 0.5381 GB, free: 158.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.676, allocations: 8.469 kB / 0.5381 GB, free: 158.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.6769, allocations: 345.7 kB / 0.5384 GB, free: 158.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.679, allocations: 1.352 MB / 0.5397 GB, free: 158.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/0.6792, allocations: 37.5 kB / 0.5397 GB, free: 158.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006422/0.6856, allocations: 9.147 MB / 0.5487 GB, free: 153.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6856, allocations: 3.812 kB / 0.5487 GB, free: 153.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00697/0.6926, allocations: 7.522 MB / 0.556 GB, free: 146.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.6942, allocations: 0.7344 MB / 0.5567 GB, free: 146.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/0.6947, allocations: 39.12 kB / 0.5568 GB, free: 146.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6957, allocations: 199.7 kB / 0.557 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.696, allocations: 137.7 kB / 0.5571 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-05/0.6961, allocations: 59.23 kB / 0.5572 GB, free: 145.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002699/0.6988, allocations: 2.86 MB / 0.56 GB, free: 142.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6988, allocations: 0 / 0.56 GB, free: 142.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004453/0.7033, allocations: 1.427 MB / 0.5613 GB, free: 141.4 MB / 458.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.0004567/0.7037, allocations: 202.2 kB / 0.5615 GB, free: 141.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006306/0.71, allocations: 6.134 MB / 0.5675 GB, free: 135.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.71, allocations: 0 / 0.5675 GB, free: 135.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.712, allocations: 2.043 MB / 0.5695 GB, free: 133.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.7143, allocations: 0.4919 MB / 0.57 GB, free: 132.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.7284, allocations: 12.4 MB / 0.5821 GB, free: 120.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/0.7311, allocations: 3.459 MB / 0.5855 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.7323, allocations: 324.4 kB / 0.5858 GB, free: 116.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.823e-06/0.7323, allocations: 3.062 kB / 0.5858 GB, free: 116.5 MB / 458.7 MB Notification: Performance of Templates: time 0.2467/0.9791, allocations: 120.6 MB / 0.7036 GB, free: 156.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.340285655111074]