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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008107/0.008108, allocations: 99.98 kB / 15.87 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 189.9 kB / 16.78 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 222.6 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4135/0.4135, allocations: 43.5 MB / 313.5 MB, free: 8.508 MB / 254.1 MB 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.001601/0.001601, allocations: 63.91 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1373, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3108/0.4482, allocations: 70.22 MB / 0.4981 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04066/0.4889, allocations: 14.04 MB / 0.5118 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02088/0.5098, allocations: 306.6 kB / 0.5121 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01/0.5199, allocations: 4.223 MB / 0.5162 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009012/0.5289, allocations: 2.126 MB / 0.5183 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.5319, allocations: 0.8523 MB / 0.5191 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01457/0.5464, allocations: 8.532 MB / 0.5275 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007512/0.554, allocations: 5.182 MB / 0.5325 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.5584, allocations: 1.95 MB / 0.5344 GB, free: 492 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005335/0.5637, allocations: 3.127 MB / 0.5375 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.5653, allocations: 351.9 kB / 0.5378 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.569, allocations: 1.28 MB / 0.5391 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003286/0.5723, allocations: 2.521 MB / 0.5415 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004264/0.5766, allocations: 2.862 MB / 0.5443 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5873, allocations: 9.182 MB / 0.5533 GB, free: 13.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5873, allocations: 4 kB / 0.5533 GB, free: 13.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5873, allocations: 0 / 0.5533 GB, free: 13.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.5876, allocations: 0 / 0.5533 GB, free: 13.1 MB / 430.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.0176/0.6052, allocations: 6.35 MB / 0.5595 GB, free: 6.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.6053, allocations: 8.031 kB / 0.5595 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.6173, allocations: 2.61 MB / 0.5621 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009328/0.6267, allocations: 3.98 MB / 0.5659 GB, free: 0 / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.6271, allocations: 316.5 kB / 0.5662 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.6295, allocations: 440 kB / 0.5667 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.6514, allocations: 12.25 MB / 0.5786 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.6516, allocations: 51.53 kB / 0.5787 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005777/0.6522, allocations: 195.8 kB / 0.5789 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00345/0.6556, allocations: 2.207 MB / 0.581 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/0.678, allocations: 10.53 MB / 0.5913 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3538/1.032, allocations: 47.58 MB / 0.6378 GB, free: 113.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.043, allocations: 4.596 MB / 0.6423 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003555/1.046, allocations: 2.635 MB / 0.6448 GB, free: 113.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/1.063, allocations: 10.44 MB / 0.655 GB, free: 108.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/1.063, allocations: 60.44 kB / 0.6551 GB, free: 108.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 6.331e-06/1.063, allocations: 1.531 kB / 0.6551 GB, free: 108.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.06553/1.128, allocations: 20.99 MB / 0.6756 GB, free: 101 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/1.129, allocations: 204 kB / 0.6758 GB, free: 100.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.141, allocations: 4.83 MB / 0.6805 GB, free: 99.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000698/1.141, allocations: 56.73 kB / 0.6805 GB, free: 98.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00344/1.145, allocations: 3.722 MB / 0.6842 GB, free: 96.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.146, allocations: 0.8398 MB / 0.685 GB, free: 95.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/1.148, allocations: 1.388 MB / 0.6864 GB, free: 94.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/1.148, allocations: 307.1 kB / 0.6867 GB, free: 94.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/1.152, allocations: 2.582 MB / 0.6892 GB, free: 93.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005438/1.157, allocations: 6.553 MB / 0.6956 GB, free: 87.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.168, allocations: 9.804 MB / 0.7051 GB, free: 79.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000222/1.168, allocations: 41 kB / 0.7052 GB, free: 79.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01993/1.188, allocations: 10.26 MB / 0.7152 GB, free: 72.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/1.189, allocations: 64 kB / 0.7153 GB, free: 72.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/1.189, allocations: 144.1 kB / 0.7154 GB, free: 72.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.193, allocations: 1.622 MB / 0.717 GB, free: 70.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/1.198, allocations: 1.56 MB / 0.7185 GB, free: 68.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.209, allocations: 9.561 MB / 0.7279 GB, free: 59.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008683/1.218, allocations: 379.5 kB / 0.7282 GB, free: 58.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/1.22, allocations: 408 kB / 0.7286 GB, free: 58.34 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.006978/1.227, allocations: 2.57 MB / 0.7311 GB, free: 55.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.229, allocations: 426.5 kB / 0.7315 GB, free: 55.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00912/1.238, allocations: 4.625 MB / 0.736 GB, free: 50.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-05/1.238, allocations: 31.5 kB / 0.7361 GB, free: 50.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.4e-05/1.238, allocations: 8 kB / 0.7361 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/1.238, allocations: 7.969 kB / 0.7361 GB, free: 50.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/1.258, allocations: 10.49 MB / 0.7463 GB, free: 40.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/1.258, allocations: 7.984 kB / 0.7463 GB, free: 40.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.26, allocations: 345.7 kB / 0.7467 GB, free: 39.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/1.264, allocations: 1.362 MB / 0.748 GB, free: 38.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/1.264, allocations: 36 kB / 0.748 GB, free: 38.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008989/1.273, allocations: 8.729 MB / 0.7565 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.273, allocations: 4.062 kB / 0.7566 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.284, allocations: 7.557 MB / 0.7639 GB, free: 21.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/1.287, allocations: 0.7774 MB / 0.7647 GB, free: 21.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006699/1.287, allocations: 39.94 kB / 0.7647 GB, free: 20.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.289, allocations: 135.6 kB / 0.7649 GB, free: 20.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/1.289, allocations: 129.8 kB / 0.765 GB, free: 20.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.29, allocations: 55.98 kB / 0.765 GB, free: 20.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004766/1.294, allocations: 3.045 MB / 0.768 GB, free: 17.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.294, allocations: 0 / 0.768 GB, free: 17.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006734/1.301, allocations: 1.267 MB / 0.7692 GB, free: 16.36 MB / 494.1 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.0004809/1.302, allocations: 185.1 kB / 0.7694 GB, free: 16.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009537/1.311, allocations: 6.372 MB / 0.7756 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.311, allocations: 0 / 0.7756 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002849/1.314, allocations: 2.194 MB / 0.7778 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.318, allocations: 0.5297 MB / 0.7783 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/1.343, allocations: 14.4 MB / 0.7924 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004995/1.348, allocations: 3.999 MB / 0.7963 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005783/1.354, allocations: 2.083 MB / 0.7983 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/1.355, allocations: 291.4 kB / 0.7986 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/1.355, allocations: 0 / 0.7986 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of Templates: time 0.3639/1.719, allocations: 45.66 MB / 0.8432 GB, free: 164.9 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches