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.001315/0.001315, allocations: 97.64 kB / 15.98 MB, free: 6.355 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.00157/0.00157, allocations: 197.8 kB / 16.91 MB, free: 6.195 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.609/1.609, allocations: 205.1 MB / 222.8 MB, free: 4.922 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.3546/0.3546, allocations: 43.5 MB / 313.6 MB, free: 8.617 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.001429/0.001429, allocations: 67.89 kB / 382.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1569, allocations: 57.79 MB / 440 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3519/0.5089, allocations: 70.23 MB / 0.4983 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04517/0.5541, allocations: 13.93 MB / 0.5119 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02289/0.577, allocations: 305.9 kB / 0.5122 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009875/0.587, allocations: 4.089 MB / 0.5162 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008345/0.5954, allocations: 2.113 MB / 0.5182 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.5984, allocations: 0.8708 MB / 0.5191 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.6105, allocations: 6.136 MB / 0.5251 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008746/0.6193, allocations: 5.582 MB / 0.5305 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.625, allocations: 2.253 MB / 0.5327 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005812/0.6308, allocations: 3.256 MB / 0.5359 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.6325, allocations: 496 kB / 0.5364 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.6362, allocations: 1.377 MB / 0.5377 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00356/0.6398, allocations: 2.677 MB / 0.5403 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007185/0.647, allocations: 3.034 MB / 0.5433 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.6603, allocations: 9.362 MB / 0.5524 GB, free: 14.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6603, allocations: 7.875 kB / 0.5524 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6603, allocations: 0 / 0.5524 GB, free: 14.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000338/0.6607, allocations: 0 / 0.5524 GB, free: 14.42 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.01521/0.6759, allocations: 6.334 MB / 0.5586 GB, free: 8.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.676, allocations: 19.83 kB / 0.5587 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.6873, allocations: 2.61 MB / 0.5612 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008656/0.696, allocations: 3.98 MB / 0.5651 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.6963, allocations: 312.5 kB / 0.5654 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.6979, allocations: 447.9 kB / 0.5658 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02434/0.7223, allocations: 12.24 MB / 0.5778 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/0.7225, allocations: 51.58 kB / 0.5778 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005916/0.7231, allocations: 195.8 kB / 0.578 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/0.7266, allocations: 2.206 MB / 0.5802 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/0.7465, allocations: 10.54 MB / 0.5904 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3194/1.066, allocations: 47.58 MB / 0.6369 GB, free: 114.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.078, allocations: 4.593 MB / 0.6414 GB, free: 114.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003532/1.082, allocations: 2.639 MB / 0.644 GB, free: 114.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/1.097, allocations: 10.45 MB / 0.6542 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.097, allocations: 53.12 kB / 0.6542 GB, free: 109.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.05e-06/1.097, allocations: 0 / 0.6542 GB, free: 109.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.07142/1.168, allocations: 20.99 MB / 0.6747 GB, free: 101.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.168, allocations: 205.5 kB / 0.6749 GB, free: 101.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.181, allocations: 4.818 MB / 0.6796 GB, free: 99.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006221/1.181, allocations: 56.81 kB / 0.6797 GB, free: 99.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.184, allocations: 3.728 MB / 0.6833 GB, free: 97.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.186, allocations: 0.8339 MB / 0.6841 GB, free: 96.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/1.188, allocations: 1.401 MB / 0.6855 GB, free: 95.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/1.188, allocations: 301.1 kB / 0.6858 GB, free: 95.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/1.191, allocations: 2.574 MB / 0.6883 GB, free: 94.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005668/1.196, allocations: 6.559 MB / 0.6947 GB, free: 88.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/1.206, allocations: 9.803 MB / 0.7043 GB, free: 80.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.206, allocations: 38.28 kB / 0.7043 GB, free: 80.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01924/1.226, allocations: 10.26 MB / 0.7144 GB, free: 73.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/1.226, allocations: 67.94 kB / 0.7144 GB, free: 73.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00046/1.227, allocations: 137.9 kB / 0.7145 GB, free: 73.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004575/1.231, allocations: 1.627 MB / 0.7161 GB, free: 71.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/1.237, allocations: 1.564 MB / 0.7177 GB, free: 70.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.248, allocations: 10.27 MB / 0.7277 GB, free: 59.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007492/1.256, allocations: 375.5 kB / 0.7281 GB, free: 59.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/1.257, allocations: 412 kB / 0.7284 GB, free: 58.87 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.007297/1.265, allocations: 2.569 MB / 0.731 GB, free: 56.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/1.267, allocations: 426.4 kB / 0.7314 GB, free: 55.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009499/1.276, allocations: 4.625 MB / 0.7359 GB, free: 51.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.341e-05/1.277, allocations: 24 kB / 0.7359 GB, free: 51.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/1.277, allocations: 4 kB / 0.7359 GB, free: 51.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/1.277, allocations: 15.95 kB / 0.7359 GB, free: 51.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/1.299, allocations: 10.5 MB / 0.7462 GB, free: 40.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.299, allocations: 2.438 kB / 0.7462 GB, free: 40.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.301, allocations: 347.5 kB / 0.7465 GB, free: 40.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/1.305, allocations: 1.363 MB / 0.7478 GB, free: 38.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/1.305, allocations: 43.52 kB / 0.7479 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.316, allocations: 9.379 MB / 0.757 GB, free: 29.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.316, allocations: 4 kB / 0.757 GB, free: 29.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.328, allocations: 7.56 MB / 0.7644 GB, free: 21.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/1.331, allocations: 0.7805 MB / 0.7652 GB, free: 20.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00168/1.332, allocations: 39.98 kB / 0.7652 GB, free: 20.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002804/1.335, allocations: 127.8 kB / 0.7654 GB, free: 20.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006748/1.336, allocations: 133.8 kB / 0.7655 GB, free: 20.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.336, allocations: 55.98 kB / 0.7655 GB, free: 20.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006331/1.343, allocations: 3.045 MB / 0.7685 GB, free: 17.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.343, allocations: 0 / 0.7685 GB, free: 17.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009114/1.352, allocations: 1.264 MB / 0.7697 GB, free: 16.21 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.001018/1.353, allocations: 180.8 kB / 0.7699 GB, free: 16.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01402/1.367, allocations: 7.776 MB / 0.7775 GB, free: 8.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.367, allocations: 5.281 kB / 0.7775 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003673/1.371, allocations: 2.194 MB / 0.7797 GB, free: 6.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/1.377, allocations: 0.5595 MB / 0.7802 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03089/1.408, allocations: 14.39 MB / 0.7943 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009492/1.418, allocations: 4.003 MB / 0.7982 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007509/1.425, allocations: 2.087 MB / 0.8002 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/1.427, allocations: 287.3 kB / 0.8005 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of SimCode: time 3.877e-06/1.427, allocations: 0 / 0.8005 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of Templates: time 0.3585/1.786, allocations: 47.41 MB / 0.8468 GB, free: 168.7 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