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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 117.6 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 190.8 kB / 21.39 MB, free: 1.633 MB / 14.72 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 1.645/1.645, allocations: 207.6 MB / 231.8 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 55.92 kB / 342.7 MB, free: 9.527 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.12, allocations: 49.13 MB / 391.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01717/0.1371, allocations: 14.29 MB / 406.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.1511, allocations: 4.673 MB / 410.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005448/0.1566, allocations: 91.75 kB / 410.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.168, allocations: 4.268 MB / 415.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007571/0.1756, allocations: 2.327 MB / 417.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.1783, allocations: 0.9243 MB / 418.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.1891, allocations: 5.902 MB / 424.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006662/0.1958, allocations: 4.446 MB / 428.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.2006, allocations: 2.204 MB / 431 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00536/0.2059, allocations: 3.166 MB / 434.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.2073, allocations: 492 kB / 434.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.2103, allocations: 1.405 MB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003434/0.2138, allocations: 2.707 MB / 438.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004603/0.2184, allocations: 2.999 MB / 441.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.2328, allocations: 9.604 MB / 451.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.2328, allocations: 0 / 451.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2328, allocations: 0 / 451.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003463/0.2331, allocations: 4 kB / 451.4 MB, free: 12.48 MB / 382.1 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.01843/0.2516, allocations: 6.501 MB / 457.9 MB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.2516, allocations: 12.03 kB / 457.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.2638, allocations: 2.653 MB / 460.5 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2526/0.5164, allocations: 4.04 MB / 464.6 MB, free: 59.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004472/0.5169, allocations: 317.8 kB / 464.9 MB, free: 59.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/0.5187, allocations: 450.6 kB / 465.3 MB, free: 59.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.5413, allocations: 12.24 MB / 477.6 MB, free: 54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.5415, allocations: 56.25 kB / 477.6 MB, free: 53.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005466/0.542, allocations: 194.4 kB / 477.8 MB, free: 53.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/0.5454, allocations: 2.208 MB / 480 MB, free: 53.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.5631, allocations: 10.54 MB / 490.6 MB, free: 45.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05173/0.6148, allocations: 47.43 MB / 0.5254 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.6271, allocations: 4.433 MB / 0.5297 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/0.631, allocations: 2.463 MB / 0.5321 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01846/0.6494, allocations: 10.48 MB / 0.5423 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.6495, allocations: 51.88 kB / 0.5424 GB, free: 11.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=192): time 5.931e-06/0.6495, allocations: 0 / 0.5424 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.06686/0.7164, allocations: 21.24 MB / 0.5631 GB, free: 6.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.7166, allocations: 205.2 kB / 0.5633 GB, free: 6.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/0.7277, allocations: 4.835 MB / 0.568 GB, free: 1.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007556/0.7284, allocations: 57.7 kB / 0.5681 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004521/0.7329, allocations: 3.872 MB / 0.5719 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00191/0.7348, allocations: 0.876 MB / 0.5727 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004888/0.7397, allocations: 1.397 MB / 0.5741 GB, free: 11.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.7399, allocations: 301.1 kB / 0.5744 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005405/0.7453, allocations: 2.578 MB / 0.5769 GB, free: 8.473 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009239/0.7545, allocations: 6.558 MB / 0.5833 GB, free: 15.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/0.7695, allocations: 9.804 MB / 0.5929 GB, free: 4.199 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001613/0.7697, allocations: 44 kB / 0.5929 GB, free: 4.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02506/0.7947, allocations: 10.26 MB / 0.6029 GB, free: 9.879 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.795, allocations: 64 kB / 0.603 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003123/0.7953, allocations: 140.8 kB / 0.6031 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005275/0.8005, allocations: 1.615 MB / 0.6047 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006069/0.8066, allocations: 1.563 MB / 0.6062 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/0.8238, allocations: 10.27 MB / 0.6163 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007543/0.8313, allocations: 379.5 kB / 0.6166 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/0.8332, allocations: 411.9 kB / 0.617 GB, free: 11.16 MB / 494.1 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.00723/0.8404, allocations: 2.573 MB / 0.6195 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/0.8419, allocations: 448.9 kB / 0.62 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.8531, allocations: 4.605 MB / 0.6245 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-05/0.8532, allocations: 27.98 kB / 0.6245 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.782e-05/0.8532, allocations: 8 kB / 0.6245 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.8532, allocations: 15.89 kB / 0.6245 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02696/0.8802, allocations: 10.42 MB / 0.6347 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.8802, allocations: 0 / 0.6347 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/0.8823, allocations: 339.5 kB / 0.635 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004574/0.8868, allocations: 1.367 MB / 0.6364 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/0.8873, allocations: 39.98 kB / 0.6364 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2651/1.152, allocations: 9.375 MB / 0.6455 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.152, allocations: 2.766 kB / 0.6455 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/1.167, allocations: 7.565 MB / 0.6529 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.169, allocations: 0.8073 MB / 0.6537 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006723/1.17, allocations: 38.31 kB / 0.6538 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.171, allocations: 126.6 kB / 0.6539 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/1.172, allocations: 140.2 kB / 0.654 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.172, allocations: 56.25 kB / 0.6541 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004761/1.177, allocations: 3.044 MB / 0.657 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/1.177, allocations: 0 / 0.657 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006757/1.183, allocations: 1.26 MB / 0.6583 GB, free: 161.3 MB / 0.4981 GB 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.0005588/1.184, allocations: 179.4 kB / 0.6584 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00991/1.194, allocations: 6.137 MB / 0.6644 GB, free: 159 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.194, allocations: 3.281 kB / 0.6644 GB, free: 159 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003032/1.197, allocations: 2.052 MB / 0.6664 GB, free: 158.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/1.201, allocations: 0.5449 MB / 0.667 GB, free: 157.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.219, allocations: 11.91 MB / 0.6786 GB, free: 152.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/1.223, allocations: 4.003 MB / 0.6825 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004183/1.227, allocations: 2.092 MB / 0.6846 GB, free: 148.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.228, allocations: 277.9 kB / 0.6848 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/1.228, allocations: 0 / 0.6848 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.07402/1.302, allocations: 44.7 MB / 0.7285 GB, free: 103.6 MB / 0.4981 GB " [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: 7.413697941228747]