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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 176 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 74.7 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.535e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5002, allocations: 98.05 MB / 461.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5005, allocations: 85.86 kB / 461.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.548/1.049, allocations: 104.7 MB / 0.5527 GB, free: 87.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.049, allocations: 0 / 0.5527 GB, free: 87.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004181/1.049, allocations: 110.7 kB / 0.5528 GB, free: 87.89 MB / 410.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.01848/1.068, allocations: 5.266 MB / 0.5579 GB, free: 85.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/1.068, allocations: 7.344 kB / 0.5579 GB, free: 85.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/1.096, allocations: 6.933 MB / 0.5647 GB, free: 85.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01989/1.116, allocations: 6.818 MB / 0.5713 GB, free: 84.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/1.116, allocations: 180.9 kB / 0.5715 GB, free: 84.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003188/1.12, allocations: 322.9 kB / 0.5718 GB, free: 84.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01769/1.137, allocations: 7.557 MB / 0.5792 GB, free: 84.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03106/1.169, allocations: 11.33 MB / 0.5903 GB, free: 78.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000583/1.169, allocations: 79.92 kB / 0.5903 GB, free: 78.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0031/1.172, allocations: 36.41 kB / 0.5904 GB, free: 78.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001919/1.174, allocations: 1.125 MB / 0.5915 GB, free: 78.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06649/1.241, allocations: 56.05 MB / 0.6462 GB, free: 30.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004537/1.245, allocations: 3.497 MB / 0.6496 GB, free: 27.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/1.248, allocations: 2.268 MB / 0.6518 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/1.249, allocations: 342.7 kB / 0.6522 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.249, allocations: 63.75 kB / 0.6522 GB, free: 24.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.859e-06/1.249, allocations: 0 / 0.6522 GB, free: 24.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=228): time 0.04449/1.293, allocations: 19.97 MB / 0.6717 GB, free: 6.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/1.293, allocations: 201.9 kB / 0.6719 GB, free: 5.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006414/1.3, allocations: 3.672 MB / 0.6755 GB, free: 2.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006892/1.301, allocations: 25.7 kB / 0.6755 GB, free: 2.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0031/1.304, allocations: 3.833 MB / 0.6793 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.305, allocations: 0.8482 MB / 0.6801 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003291/1.306, allocations: 4 kB / 0.6801 GB, free: 13.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004625/1.306, allocations: 0.5915 MB / 0.6807 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00333/1.309, allocations: 2.173 MB / 0.6828 GB, free: 10.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006531/1.316, allocations: 6.251 MB / 0.6889 GB, free: 2.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.311/1.627, allocations: 3.659 MB / 0.6925 GB, free: 90.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/1.627, allocations: 42.91 kB / 0.6925 GB, free: 90.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02288/1.65, allocations: 8.247 MB / 0.7006 GB, free: 90.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.65, allocations: 67.34 kB / 0.7006 GB, free: 90.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003376/1.651, allocations: 146.3 kB / 0.7008 GB, free: 90.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/1.654, allocations: 0.9455 MB / 0.7017 GB, free: 90.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/1.66, allocations: 1.582 MB / 0.7032 GB, free: 90.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/1.67, allocations: 7.257 MB / 0.7103 GB, free: 87.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006187/1.676, allocations: 233 kB / 0.7106 GB, free: 87.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/1.678, allocations: 414.4 kB / 0.711 GB, free: 87.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 830 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002651/1.68, allocations: 486.2 kB / 0.7114 GB, free: 87.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/1.682, allocations: 402.2 kB / 0.7118 GB, free: 87.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008464/1.69, allocations: 3.487 MB / 0.7152 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/1.69, allocations: 25.89 kB / 0.7152 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/1.69, allocations: 6.781 kB / 0.7152 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.846e-05/1.69, allocations: 9.797 kB / 0.7152 GB, free: 87.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02806/1.719, allocations: 8.554 MB / 0.7236 GB, free: 86.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/1.719, allocations: 2.688 kB / 0.7236 GB, free: 86.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.721, allocations: 363.3 kB / 0.7239 GB, free: 86.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/1.723, allocations: 0.6743 MB / 0.7246 GB, free: 86.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004102/1.724, allocations: 10.45 kB / 0.7246 GB, free: 86.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00725/1.731, allocations: 6.203 MB / 0.7307 GB, free: 83.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/1.731, allocations: 11.08 kB / 0.7307 GB, free: 83.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.741, allocations: 6.327 MB / 0.7369 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.744, allocations: 0.7199 MB / 0.7376 GB, free: 80.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/1.745, allocations: 3.969 kB / 0.7376 GB, free: 80.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/1.748, allocations: 83.25 kB / 0.7377 GB, free: 80.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/1.748, allocations: 135.3 kB / 0.7378 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/1.748, allocations: 59.7 kB / 0.7378 GB, free: 79.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006384/1.755, allocations: 2.495 MB / 0.7403 GB, free: 79.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.755, allocations: 0 / 0.7403 GB, free: 79.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009006/1.764, allocations: 1.038 MB / 0.7413 GB, free: 79.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 174 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009074/1.765, allocations: 146.8 kB / 0.7414 GB, free: 78.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01042/1.775, allocations: 5.48 MB / 0.7468 GB, free: 76.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.775, allocations: 3.562 kB / 0.7468 GB, free: 76.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003376/1.779, allocations: 1.94 MB / 0.7487 GB, free: 76.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.782, allocations: 454.8 kB / 0.7491 GB, free: 75.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/1.81, allocations: 9.274 MB / 0.7582 GB, free: 72.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/1.821, allocations: 4.111 MB / 0.7622 GB, free: 71.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007879/1.829, allocations: 2.192 MB / 0.7643 GB, free: 70.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.83, allocations: 273.8 kB / 0.7646 GB, free: 70.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/1.83, allocations: 7.719 kB / 0.7646 GB, free: 70.12 MB / 426.7 MB Notification: Performance of Templates: time 0.07834/1.909, allocations: 36.58 MB / 0.8003 GB, free: 42.17 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches