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.0009862/0.0009863, allocations: 95.84 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 167.4 kB / 16.57 MB, free: 5.684 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.645/1.645, allocations: 205.4 MB / 222.7 MB, free: 5.578 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.4207/0.4207, allocations: 43.57 MB / 314.6 MB, free: 8.773 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.0005189/0.000519, allocations: 20 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2776/0.4103, allocations: 63.71 MB / 0.4947 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03456/0.4449, allocations: 13.4 MB / 0.5077 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01817/0.4631, allocations: 308.2 kB / 0.508 GB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0151/0.4783, allocations: 3.306 MB / 0.5113 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03826/0.5166, allocations: 9.737 MB / 0.5208 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.5216, allocations: 0.8086 MB / 0.5216 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04902/0.5706, allocations: 34.97 MB / 0.5557 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.5833, allocations: 6.626 MB / 0.5622 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.5882, allocations: 1.72 MB / 0.5639 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005247/0.5935, allocations: 2.648 MB / 0.5665 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.5951, allocations: 192 kB / 0.5666 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.599, allocations: 0.9714 MB / 0.5676 GB, free: 292 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004038/0.603, allocations: 2.264 MB / 0.5698 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002727/0.6058, allocations: 1.088 MB / 0.5709 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.6171, allocations: 7.415 MB / 0.5781 GB, free: 5.484 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6172, allocations: 0 / 0.5781 GB, free: 5.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6172, allocations: 0 / 0.5781 GB, free: 5.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004325/0.6176, allocations: 0 / 0.5781 GB, free: 5.484 MB / 446.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.01686/0.6345, allocations: 5.286 MB / 0.5833 GB, free: 124 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.6346, allocations: 12.03 kB / 0.5833 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.6481, allocations: 2.666 MB / 0.5859 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.659, allocations: 3.891 MB / 0.5897 GB, free: 9.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.6593, allocations: 316.1 kB / 0.59 GB, free: 9.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00187/0.6612, allocations: 435.6 kB / 0.5904 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.6856, allocations: 12.24 MB / 0.6023 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.6858, allocations: 55.52 kB / 0.6024 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005045/0.6864, allocations: 199.8 kB / 0.6026 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003594/0.69, allocations: 2.206 MB / 0.6047 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/0.7112, allocations: 10.52 MB / 0.615 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3225/1.034, allocations: 47.55 MB / 0.6615 GB, free: 110.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/1.044, allocations: 4.599 MB / 0.6659 GB, free: 109.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/1.048, allocations: 2.644 MB / 0.6685 GB, free: 108.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01687/1.064, allocations: 10.43 MB / 0.6787 GB, free: 103.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/1.065, allocations: 63.94 kB / 0.6788 GB, free: 103.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 4.067e-06/1.065, allocations: 1.125 kB / 0.6788 GB, free: 103.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05832/1.123, allocations: 20.99 MB / 0.6993 GB, free: 95.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.123, allocations: 202.9 kB / 0.6995 GB, free: 95.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007505/1.131, allocations: 4.806 MB / 0.7042 GB, free: 93.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005886/1.131, allocations: 56.95 kB / 0.7042 GB, free: 93.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002517/1.134, allocations: 3.719 MB / 0.7078 GB, free: 90.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.135, allocations: 0.8343 MB / 0.7087 GB, free: 90.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/1.135, allocations: 138 kB / 0.7088 GB, free: 90.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003201/1.136, allocations: 0.5894 MB / 0.7094 GB, free: 89.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/1.139, allocations: 2.557 MB / 0.7119 GB, free: 88.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005336/1.144, allocations: 6.547 MB / 0.7183 GB, free: 82.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/1.15, allocations: 3.988 MB / 0.7222 GB, free: 80.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.54e-05/1.15, allocations: 39.41 kB / 0.7222 GB, free: 80.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01816/1.168, allocations: 10.22 MB / 0.7322 GB, free: 70.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.191e-05/1.168, allocations: 70.8 kB / 0.7322 GB, free: 70.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.168, allocations: 144 kB / 0.7324 GB, free: 69.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/1.172, allocations: 1.638 MB / 0.734 GB, free: 68.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005104/1.177, allocations: 1.571 MB / 0.7355 GB, free: 66.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.187, allocations: 9.542 MB / 0.7448 GB, free: 56.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/1.194, allocations: 383.4 kB / 0.7452 GB, free: 56.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001595/1.196, allocations: 408 kB / 0.7456 GB, free: 56.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005062/1.201, allocations: 2.578 MB / 0.7481 GB, free: 53.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.202, allocations: 430.4 kB / 0.7485 GB, free: 53.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007608/1.21, allocations: 4.621 MB / 0.753 GB, free: 48.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/1.21, allocations: 27.95 kB / 0.753 GB, free: 48.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/1.21, allocations: 8 kB / 0.7531 GB, free: 48.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.21, allocations: 11.95 kB / 0.7531 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.233, allocations: 10.49 MB / 0.7633 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/1.233, allocations: 4 kB / 0.7633 GB, free: 37.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.234, allocations: 349.3 kB / 0.7636 GB, free: 37.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/1.238, allocations: 1.36 MB / 0.765 GB, free: 36.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003248/1.238, allocations: 32 kB / 0.765 GB, free: 36.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009418/1.248, allocations: 8.738 MB / 0.7735 GB, free: 27.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.248, allocations: 0 / 0.7735 GB, free: 27.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.26, allocations: 7.552 MB / 0.7809 GB, free: 19.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/1.262, allocations: 0.7883 MB / 0.7817 GB, free: 18.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/1.264, allocations: 38.89 kB / 0.7817 GB, free: 18.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.266, allocations: 139.8 kB / 0.7819 GB, free: 18.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/1.267, allocations: 133.8 kB / 0.782 GB, free: 18.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.267, allocations: 55.98 kB / 0.782 GB, free: 18.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006014/1.273, allocations: 3.013 MB / 0.785 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.273, allocations: 4 kB / 0.785 GB, free: 15.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008535/1.282, allocations: 1.26 MB / 0.7862 GB, free: 14.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008696/1.283, allocations: 165.1 kB / 0.7864 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.294, allocations: 6.364 MB / 0.7926 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.294, allocations: 0 / 0.7926 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004098/1.298, allocations: 2.201 MB / 0.7947 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006527/1.305, allocations: 0.531 MB / 0.7953 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/1.334, allocations: 13.88 MB / 0.8088 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007382/1.341, allocations: 4 MB / 0.8127 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005966/1.347, allocations: 2.091 MB / 0.8148 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.348, allocations: 287.4 kB / 0.815 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/1.348, allocations: 0 / 0.815 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of Templates: time 0.3636/1.712, allocations: 44.03 MB / 0.858 GB, free: 132.5 MB / 0.4981 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