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.0008547/0.0008548, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 224.2 MB, free: 9.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008384/0.0008384, allocations: 94.09 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2095, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3143, allocations: 98.73 MB / 475.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.3146, allocations: 95.95 kB / 475.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3881/0.7027, allocations: 105.4 MB / 0.5677 GB, free: 49.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7028, allocations: 0 / 0.5677 GB, free: 49.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003076/0.7031, allocations: 115.9 kB / 0.5678 GB, free: 49.75 MB / 378.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.01471/0.7178, allocations: 5.549 MB / 0.5732 GB, free: 44.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.7179, allocations: 12.03 kB / 0.5732 GB, free: 44.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/0.7379, allocations: 5.285 MB / 0.5784 GB, free: 38.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.7495, allocations: 5.716 MB / 0.5839 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.75, allocations: 411.1 kB / 0.5843 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003228/0.7532, allocations: 0.5352 MB / 0.5849 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/0.7806, allocations: 12.68 MB / 0.5973 GB, free: 18.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003933/0.7811, allocations: 67.53 kB / 0.5973 GB, free: 18.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002372/0.7835, allocations: 263.8 kB / 0.5976 GB, free: 17.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.7851, allocations: 1.129 MB / 0.5987 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.8043, allocations: 10.33 MB / 0.6088 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.266/1.07, allocations: 57.12 MB / 0.6645 GB, free: 47.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/1.08, allocations: 4.403 MB / 0.6688 GB, free: 46.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/1.083, allocations: 2.433 MB / 0.6712 GB, free: 46.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/1.097, allocations: 9.883 MB / 0.6809 GB, free: 45.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.097, allocations: 57.02 kB / 0.6809 GB, free: 45.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 6.112e-06/1.097, allocations: 0 / 0.6809 GB, free: 45.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.04298/1.14, allocations: 18.73 MB / 0.6992 GB, free: 41.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/1.141, allocations: 208 kB / 0.6994 GB, free: 41.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00618/1.147, allocations: 4.78 MB / 0.7041 GB, free: 39.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004256/1.147, allocations: 57.27 kB / 0.7041 GB, free: 39.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.149, allocations: 3.781 MB / 0.7078 GB, free: 37.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008906/1.15, allocations: 0.8306 MB / 0.7086 GB, free: 36.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/1.15, allocations: 130.7 kB / 0.7088 GB, free: 36.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002687/1.151, allocations: 0.5761 MB / 0.7093 GB, free: 35.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/1.154, allocations: 2.263 MB / 0.7115 GB, free: 35.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/1.158, allocations: 6.244 MB / 0.7176 GB, free: 29.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00854/1.166, allocations: 9.25 MB / 0.7267 GB, free: 22.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.167, allocations: 38.16 kB / 0.7267 GB, free: 22.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01463/1.181, allocations: 8.977 MB / 0.7355 GB, free: 18.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/1.181, allocations: 71.19 kB / 0.7355 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/1.181, allocations: 140 kB / 0.7357 GB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/1.184, allocations: 0.9267 MB / 0.7366 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004689/1.188, allocations: 1.511 MB / 0.7381 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/1.196, allocations: 7.428 MB / 0.7453 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/1.201, allocations: 359.4 kB / 0.7456 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.202, allocations: 398.9 kB / 0.746 GB, free: 8.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * 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 (798): * Single equations (assignments): 793 * 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.004922/1.207, allocations: 2.581 MB / 0.7485 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008463/1.208, allocations: 435.9 kB / 0.749 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/1.214, allocations: 3.608 MB / 0.7525 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/1.214, allocations: 24 kB / 0.7525 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.214, allocations: 7.25 kB / 0.7525 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.214, allocations: 13.98 kB / 0.7525 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.231, allocations: 9.311 MB / 0.7616 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.231, allocations: 4 kB / 0.7616 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.232, allocations: 342 kB / 0.762 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/1.235, allocations: 0.6927 MB / 0.7626 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.235, allocations: 43.94 kB / 0.7627 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007605/1.242, allocations: 6.575 MB / 0.7691 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.242, allocations: 11.75 kB / 0.7691 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.258, allocations: 6.712 MB / 0.7757 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002796/1.261, allocations: 0.7365 MB / 0.7764 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006792/1.262, allocations: 45.84 kB / 0.7764 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.264, allocations: 114.1 kB / 0.7765 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/1.264, allocations: 131.4 kB / 0.7767 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.264, allocations: 52 kB / 0.7767 GB, free: 15.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004729/1.269, allocations: 3.01 MB / 0.7796 GB, free: 12.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.269, allocations: 0 / 0.7796 GB, free: 12.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006078/1.275, allocations: 1.189 MB / 0.7808 GB, free: 11.36 MB / 442.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 (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.0005165/1.275, allocations: 178.1 kB / 0.781 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009893/1.285, allocations: 5.767 MB / 0.7866 GB, free: 5.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/1.285, allocations: 0 / 0.7866 GB, free: 5.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003233/1.289, allocations: 2.009 MB / 0.7886 GB, free: 3.398 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/1.293, allocations: 0.5518 MB / 0.7891 GB, free: 2.867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/1.316, allocations: 13.46 MB / 0.8023 GB, free: 5.395 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006763/1.323, allocations: 3.999 MB / 0.8062 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006609/1.33, allocations: 2.101 MB / 0.8082 GB, free: 15.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.331, allocations: 287.3 kB / 0.8085 GB, free: 15.02 MB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/1.331, allocations: 0 / 0.8085 GB, free: 15.02 MB / 474.7 MB Notification: Performance of Templates: time 0.2934/1.624, allocations: 41.24 MB / 0.8488 GB, free: 133.6 MB / 474.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/jenkins1/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