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.001862/0.001862, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002141/0.002141, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.374/2.374, allocations: 222.9 MB / 242.4 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3545/0.3545, allocations: 44.18 MB / 336.8 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.59 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1941, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.5783/0.7725, allocations: 69.58 MB / 0.5261 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0571/0.8297, allocations: 13.93 MB / 0.5397 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02953/0.8593, allocations: 306.5 kB / 0.54 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.8715, allocations: 4.218 MB / 0.5441 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.8823, allocations: 2.046 MB / 0.5461 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.8866, allocations: 0.8524 MB / 0.547 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01851/0.9052, allocations: 8.79 MB / 0.5556 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.9172, allocations: 5.108 MB / 0.5605 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006922/0.9242, allocations: 1.892 MB / 0.5624 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008591/0.9329, allocations: 3.007 MB / 0.5653 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002736/0.9357, allocations: 332 kB / 0.5656 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006568/0.9423, allocations: 1.28 MB / 0.5669 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006378/0.9488, allocations: 2.435 MB / 0.5693 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009235/0.9581, allocations: 2.754 MB / 0.572 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.973, allocations: 7.301 MB / 0.5791 GB, free: 4.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.9731, allocations: 0 / 0.5791 GB, free: 4.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.9732, allocations: 0 / 0.5791 GB, free: 4.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003792/0.9735, allocations: 4 kB / 0.5791 GB, free: 4.156 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.02857/1.002, allocations: 6.134 MB / 0.5851 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.837e-05/1.002, allocations: 8.031 kB / 0.5851 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02276/1.025, allocations: 2.575 MB / 0.5876 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/1.042, allocations: 3.812 MB / 0.5913 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005744/1.042, allocations: 308.2 kB / 0.5916 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/1.046, allocations: 428 kB / 0.592 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/1.087, allocations: 11.73 MB / 0.6035 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/1.088, allocations: 55.5 kB / 0.6036 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001699/1.089, allocations: 191.8 kB / 0.6037 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006577/1.096, allocations: 2.089 MB / 0.6058 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03598/1.132, allocations: 10.09 MB / 0.6156 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1059/1.238, allocations: 45.98 MB / 0.6605 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/1.258, allocations: 4.367 MB / 0.6648 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006281/1.264, allocations: 2.466 MB / 0.6672 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02995/1.294, allocations: 9.855 MB / 0.6768 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.364e-05/1.294, allocations: 55.44 kB / 0.6769 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=171): time 8.727e-06/1.294, allocations: 4 kB / 0.6769 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.09286/1.387, allocations: 19.95 MB / 0.6964 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.388, allocations: 197.2 kB / 0.6965 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01326/1.401, allocations: 4.717 MB / 0.7012 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006014/1.401, allocations: 49.7 kB / 0.7012 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004568/1.406, allocations: 3.599 MB / 0.7047 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.3371/1.743, allocations: 0.7679 MB / 0.7055 GB, free: 191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005058/1.748, allocations: 1.336 MB / 0.7068 GB, free: 191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/1.748, allocations: 308.9 kB / 0.7071 GB, free: 190.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007716/1.756, allocations: 2.406 MB / 0.7094 GB, free: 190.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/1.767, allocations: 6.277 MB / 0.7155 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/1.785, allocations: 9.321 MB / 0.7247 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003234/1.786, allocations: 39.31 kB / 0.7247 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.03156/1.817, allocations: 9.79 MB / 0.7342 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004827/1.818, allocations: 69.8 kB / 0.7343 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004625/1.818, allocations: 141 kB / 0.7344 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006957/1.825, allocations: 1.607 MB / 0.736 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007869/1.833, allocations: 1.483 MB / 0.7375 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.85, allocations: 9.543 MB / 0.7468 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/1.859, allocations: 364.6 kB / 0.7471 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/1.86, allocations: 395.1 kB / 0.7475 GB, free: 166 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.007086/1.868, allocations: 2.481 MB / 0.7499 GB, free: 163.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.869, allocations: 413.2 kB / 0.7503 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.883, allocations: 4.234 MB / 0.7545 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.766e-05/1.883, allocations: 24 kB / 0.7545 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.883, allocations: 8 kB / 0.7545 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.839e-05/1.883, allocations: 7.969 kB / 0.7545 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02841/1.912, allocations: 9.78 MB / 0.7641 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.889e-05/1.912, allocations: 0 / 0.7641 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.914, allocations: 299.6 kB / 0.7643 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/1.921, allocations: 1.355 MB / 0.7657 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005044/1.921, allocations: 32 kB / 0.7657 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.936, allocations: 8.736 MB / 0.7742 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.936, allocations: 4 kB / 0.7742 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.952, allocations: 6.975 MB / 0.781 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.954, allocations: 459.6 kB / 0.7815 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/1.956, allocations: 35.94 kB / 0.7815 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003044/1.959, allocations: 119.8 kB / 0.7816 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007037/1.959, allocations: 121.1 kB / 0.7817 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/1.96, allocations: 51.98 kB / 0.7818 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006413/1.966, allocations: 2.964 MB / 0.7847 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.62e-07/1.966, allocations: 0 / 0.7847 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009898/1.976, allocations: 1.206 MB / 0.7859 GB, free: 127.6 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.0008306/1.977, allocations: 177 kB / 0.786 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.99, allocations: 5.957 MB / 0.7918 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.99, allocations: 0 / 0.7918 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00428/1.994, allocations: 2.014 MB / 0.7938 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/2, allocations: 0.5149 MB / 0.7943 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/2.03, allocations: 14.14 MB / 0.8081 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007729/2.038, allocations: 3.84 MB / 0.8119 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/2.04, allocations: 311.4 kB / 0.8122 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.853e-06/2.04, allocations: 0 / 0.8122 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.5431/2.583, allocations: 113 MB / 0.9225 GB, free: 167.7 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