Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001067/0.001067, allocations: 97.89 kB / 18.01 MB, free: 5.602 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.001313/0.001313, allocations: 183.5 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 242.9 MB, free: 28 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.25 MB / 338.3 MB, free: 2.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3179/0.4329, allocations: 67.89 MB / 0.5281 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03201/0.465, allocations: 13.87 MB / 0.5417 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.4811, allocations: 304.9 kB / 0.542 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.4832, allocations: 0.5003 MB / 0.5425 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.4891, allocations: 2.055 MB / 0.5445 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.4911, allocations: 0.8575 MB / 0.5453 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009667/0.5008, allocations: 8.777 MB / 0.5539 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.5112, allocations: 7.365 MB / 0.5611 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.5142, allocations: 1.525 MB / 0.5626 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.5178, allocations: 2.552 MB / 0.565 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006938/0.5185, allocations: 180 kB / 0.5652 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.521, allocations: 1.141 MB / 0.5663 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002493/0.5235, allocations: 2.21 MB / 0.5685 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003386/0.5269, allocations: 2.504 MB / 0.5709 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009057/0.5359, allocations: 7.124 MB / 0.5779 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.536, allocations: 0 / 0.5779 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.536, allocations: 0 / 0.5779 GB, free: 8.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002966/0.5363, allocations: 0 / 0.5779 GB, free: 8.234 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01212/0.5484, allocations: 5.036 MB / 0.5828 GB, free: 3.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.5485, allocations: 12.03 kB / 0.5828 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.561, allocations: 2.633 MB / 0.5854 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008491/0.5695, allocations: 3.812 MB / 0.5891 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.5698, allocations: 302.6 kB / 0.5894 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/0.5715, allocations: 431.6 kB / 0.5898 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.5961, allocations: 11.76 MB / 0.6013 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002599/0.5964, allocations: 51.53 kB / 0.6013 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/0.5976, allocations: 190.4 kB / 0.6015 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00399/0.6017, allocations: 2.084 MB / 0.6036 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/0.624, allocations: 10.13 MB / 0.6135 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05896/0.683, allocations: 45.99 MB / 0.6584 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.694, allocations: 4.378 MB / 0.6626 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/0.6975, allocations: 2.473 MB / 0.6651 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/0.7131, allocations: 9.853 MB / 0.6747 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.7131, allocations: 59.48 kB / 0.6747 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=171): time 4.729e-06/0.7131, allocations: 0 / 0.6747 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197): time 0.05638/0.7695, allocations: 19.98 MB / 0.6942 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.7697, allocations: 205.2 kB / 0.6944 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009027/0.7787, allocations: 4.709 MB / 0.699 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004782/0.7792, allocations: 53.7 kB / 0.6991 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/0.7826, allocations: 3.603 MB / 0.7026 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.7839, allocations: 0.7636 MB / 0.7034 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.7852, allocations: 0.567 MB / 0.7039 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7853, allocations: 309.1 kB / 0.7042 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/0.7898, allocations: 2.418 MB / 0.7066 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2433/1.033, allocations: 6.273 MB / 0.7127 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/1.045, allocations: 9.337 MB / 0.7218 GB, free: 177 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002978/1.045, allocations: 39.16 kB / 0.7218 GB, free: 177 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.023/1.068, allocations: 9.801 MB / 0.7314 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/1.068, allocations: 63.94 kB / 0.7315 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004301/1.069, allocations: 137 kB / 0.7316 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004534/1.073, allocations: 1.614 MB / 0.7332 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004965/1.078, allocations: 1.492 MB / 0.7346 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.089, allocations: 9.555 MB / 0.744 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.095, allocations: 376.5 kB / 0.7443 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.096, allocations: 393.5 kB / 0.7447 GB, free: 167.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (796): * Single equations (assignments): 791 * 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.004783/1.101, allocations: 2.474 MB / 0.7471 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008535/1.102, allocations: 409.9 kB / 0.7475 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008122/1.11, allocations: 4.247 MB / 0.7517 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/1.11, allocations: 21.33 kB / 0.7517 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/1.11, allocations: 11.94 kB / 0.7517 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/1.11, allocations: 8.953 kB / 0.7517 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/1.128, allocations: 9.797 MB / 0.7613 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.128, allocations: 4.625 kB / 0.7613 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.129, allocations: 299.6 kB / 0.7616 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003788/1.133, allocations: 1.362 MB / 0.7629 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/1.134, allocations: 32.94 kB / 0.7629 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009536/1.143, allocations: 8.739 MB / 0.7715 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.143, allocations: 0 / 0.7715 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.153, allocations: 6.992 MB / 0.7783 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.155, allocations: 467.6 kB / 0.7787 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009518/1.156, allocations: 32 kB / 0.7788 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.158, allocations: 123.8 kB / 0.7789 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004407/1.158, allocations: 125.3 kB / 0.779 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.158, allocations: 56 kB / 0.779 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00487/1.163, allocations: 2.964 MB / 0.7819 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/1.163, allocations: 4 kB / 0.7819 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006018/1.169, allocations: 1.203 MB / 0.7831 GB, free: 132.5 MB / 0.5294 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 (147): * Single equations (assignments): 142 * 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.0004993/1.17, allocations: 170.6 kB / 0.7833 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00903/1.179, allocations: 5.973 MB / 0.7891 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.179, allocations: 0 / 0.7891 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/1.182, allocations: 2.022 MB / 0.7911 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/1.187, allocations: 0.5108 MB / 0.7916 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.208, allocations: 14.24 MB / 0.8055 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005185/1.213, allocations: 3.832 MB / 0.8092 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.215, allocations: 319.4 kB / 0.8095 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/1.215, allocations: 0 / 0.8095 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.3664/1.581, allocations: 111.9 MB / 0.9189 GB, free: 171.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches