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.001271/0.001271, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001375/0.001375, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.338/1.338, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2078/0.2078, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.72 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1096, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01423/0.1239, allocations: 13.61 MB / 483.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.1342, allocations: 4.555 MB / 488.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.1372, allocations: 91.75 kB / 488.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008061/0.1453, allocations: 4.198 MB / 492.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006101/0.1514, allocations: 2.194 MB / 494.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.1537, allocations: 0.9243 MB / 495.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00847/0.1622, allocations: 6.061 MB / 0.4898 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006296/0.1686, allocations: 5.243 MB / 0.4949 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.1725, allocations: 2.134 MB / 0.497 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.1769, allocations: 2.812 MB / 0.4998 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.1783, allocations: 476 kB / 0.5002 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.1812, allocations: 1.358 MB / 0.5015 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2195/0.4007, allocations: 2.532 MB / 0.504 GB, free: 20.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006099/0.4068, allocations: 2.886 MB / 0.5068 GB, free: 19.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.4198, allocations: 8.934 MB / 0.5156 GB, free: 18.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4199, allocations: 0 / 0.5156 GB, free: 18.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4199, allocations: 1.188 kB / 0.5156 GB, free: 18.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004363/0.4203, allocations: 3.375 kB / 0.5156 GB, free: 18.68 MB / 382.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.02188/0.4422, allocations: 6.144 MB / 0.5216 GB, free: 16.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4423, allocations: 9.281 kB / 0.5216 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.4562, allocations: 2.58 MB / 0.5241 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009842/0.466, allocations: 3.806 MB / 0.5278 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.4664, allocations: 298.6 kB / 0.5281 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00262/0.469, allocations: 440.2 kB / 0.5285 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.4928, allocations: 11.73 MB / 0.54 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.493, allocations: 49.03 kB / 0.54 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007151/0.4938, allocations: 188 kB / 0.5402 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/0.4969, allocations: 2.094 MB / 0.5422 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.5161, allocations: 10.09 MB / 0.5521 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06755/0.5837, allocations: 45.97 MB / 0.597 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.5957, allocations: 4.368 MB / 0.6012 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/0.5994, allocations: 2.474 MB / 0.6037 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/0.6175, allocations: 9.862 MB / 0.6133 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.6175, allocations: 51.56 kB / 0.6133 GB, free: 14.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=171): time 5.491e-06/0.6176, allocations: 0 / 0.6133 GB, free: 14.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=197): time 0.06113/0.6787, allocations: 19.95 MB / 0.6328 GB, free: 10.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.6789, allocations: 205.2 kB / 0.633 GB, free: 10.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009711/0.6886, allocations: 4.709 MB / 0.6376 GB, free: 5.875 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005498/0.6892, allocations: 60.83 kB / 0.6377 GB, free: 5.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.6925, allocations: 3.588 MB / 0.6412 GB, free: 2.223 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.6938, allocations: 0.7672 MB / 0.6419 GB, free: 1.461 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003427/0.6973, allocations: 1.341 MB / 0.6432 GB, free: 116 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6975, allocations: 305.1 kB / 0.6435 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00429/0.7018, allocations: 2.414 MB / 0.6459 GB, free: 13.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007719/0.7095, allocations: 6.276 MB / 0.652 GB, free: 5.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/0.7219, allocations: 9.323 MB / 0.6611 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/0.7221, allocations: 44 kB / 0.6612 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02226/0.7444, allocations: 9.794 MB / 0.6707 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.7446, allocations: 64 kB / 0.6708 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/0.7449, allocations: 136 kB / 0.6709 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005108/0.75, allocations: 1.617 MB / 0.6725 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005599/0.7556, allocations: 1.489 MB / 0.6739 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.771, allocations: 10.26 MB / 0.684 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/0.7771, allocations: 367.4 kB / 0.6843 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/0.7786, allocations: 394.6 kB / 0.6847 GB, free: 2.617 MB / 0.5137 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.006484/0.7851, allocations: 2.482 MB / 0.6871 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/0.7863, allocations: 402.8 kB / 0.6875 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009742/0.7961, allocations: 4.24 MB / 0.6916 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/0.7961, allocations: 23.94 kB / 0.6917 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/0.7962, allocations: 8 kB / 0.6917 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/0.7962, allocations: 7.969 kB / 0.6917 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/0.8202, allocations: 9.774 MB / 0.7012 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/0.8202, allocations: 0 / 0.7012 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.8219, allocations: 303.5 kB / 0.7015 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2268/1.049, allocations: 1.358 MB / 0.7028 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005959/1.049, allocations: 35.09 kB / 0.7029 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.062, allocations: 9.391 MB / 0.712 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.062, allocations: 1.375 kB / 0.712 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.073, allocations: 6.977 MB / 0.7189 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.074, allocations: 458 kB / 0.7193 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006662/1.075, allocations: 27.91 kB / 0.7193 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.076, allocations: 116.6 kB / 0.7194 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/1.077, allocations: 124.8 kB / 0.7196 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.077, allocations: 51.28 kB / 0.7196 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004386/1.081, allocations: 2.965 MB / 0.7225 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.081, allocations: 0 / 0.7225 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005741/1.087, allocations: 1.211 MB / 0.7237 GB, free: 178.4 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.0004911/1.088, allocations: 169.3 kB / 0.7238 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.099, allocations: 7.035 MB / 0.7307 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.099, allocations: 0 / 0.7307 GB, free: 176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/1.101, allocations: 2.009 MB / 0.7327 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.105, allocations: 0.5465 MB / 0.7332 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.124, allocations: 11.77 MB / 0.7447 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004588/1.129, allocations: 3.837 MB / 0.7484 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.13, allocations: 319.4 kB / 0.7488 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.283e-06/1.13, allocations: 0 / 0.7488 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1226/1.252, allocations: 113 MB / 0.8591 GB, free: 48.22 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