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.0009649/0.0009651, allocations: 94.34 kB / 16.99 MB, free: 5.941 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.0009121/0.0009122, allocations: 183 kB / 17.87 MB, free: 5.609 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.363/1.363, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.1996/0.1996, allocations: 44.23 MB / 337.1 MB, free: 2.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 8 kB / 409.5 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 61.92 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2925/0.4373, allocations: 59.56 MB / 0.5186 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03132/0.4687, allocations: 13.93 MB / 0.5322 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02058/0.4893, allocations: 301.6 kB / 0.5325 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.5017, allocations: 2.989 MB / 0.5354 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03387/0.5356, allocations: 8.549 MB / 0.5437 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006213/0.5419, allocations: 0.7964 MB / 0.5445 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.07109/0.613, allocations: 48.51 MB / 0.5919 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.624, allocations: 6.522 MB / 0.5983 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.6276, allocations: 1.355 MB / 0.5996 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/0.6314, allocations: 1.745 MB / 0.6013 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.6328, allocations: 180 kB / 0.6015 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.6363, allocations: 0.9637 MB / 0.6024 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.6402, allocations: 2.014 MB / 0.6044 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002735/0.643, allocations: 1.045 MB / 0.6054 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.6552, allocations: 7.24 MB / 0.6125 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6553, allocations: 0 / 0.6125 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.6553, allocations: 4 kB / 0.6125 GB, free: 3.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006427/0.6559, allocations: 0 / 0.6125 GB, free: 3.367 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.02019/0.6762, allocations: 5.366 MB / 0.6177 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6762, allocations: 12.03 kB / 0.6177 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04492/0.7212, allocations: 8.001 MB / 0.6255 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.734, allocations: 3.884 MB / 0.6293 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004159/0.7344, allocations: 299.8 kB / 0.6296 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002312/0.7368, allocations: 423.7 kB / 0.63 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/0.7634, allocations: 11.74 MB / 0.6415 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/0.7637, allocations: 59.52 kB / 0.6415 GB, free: 4.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006062/0.7643, allocations: 183.9 kB / 0.6417 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003445/0.7678, allocations: 2.089 MB / 0.6437 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02151/0.7893, allocations: 9.989 MB / 0.6535 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06586/0.8552, allocations: 45.54 MB / 0.698 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.8665, allocations: 4.257 MB / 0.7021 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3186/1.185, allocations: 9.52 MB / 0.7114 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/1.185, allocations: 55.45 kB / 0.7115 GB, free: 191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.248e-06/1.185, allocations: 0 / 0.7115 GB, free: 191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.05078/1.236, allocations: 18.55 MB / 0.7296 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/1.236, allocations: 210 kB / 0.7298 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005922/1.242, allocations: 4.943 MB / 0.7346 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/1.242, allocations: 53.42 kB / 0.7347 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/1.244, allocations: 3.638 MB / 0.7382 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/1.245, allocations: 0.7525 MB / 0.739 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/1.245, allocations: 127.2 kB / 0.7391 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002892/1.246, allocations: 0.5665 MB / 0.7396 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/1.249, allocations: 2.17 MB / 0.7417 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00418/1.253, allocations: 5.988 MB / 0.7476 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/1.257, allocations: 3.535 MB / 0.751 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/1.257, allocations: 40 kB / 0.7511 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01237/1.269, allocations: 8.748 MB / 0.7596 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/1.269, allocations: 65.88 kB / 0.7597 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.269, allocations: 136 kB / 0.7598 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/1.272, allocations: 1.097 MB / 0.7609 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.276, allocations: 1.431 MB / 0.7623 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008287/1.285, allocations: 8.381 MB / 0.7705 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/1.29, allocations: 359.4 kB / 0.7708 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009098/1.291, allocations: 376.9 kB / 0.7712 GB, free: 146.3 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 (756): * Single equations (assignments): 751 * 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%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003912/1.295, allocations: 2.484 MB / 0.7736 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008789/1.296, allocations: 414.7 kB / 0.774 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.301, allocations: 3.487 MB / 0.7774 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/1.301, allocations: 25.12 kB / 0.7774 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.301, allocations: 4 kB / 0.7774 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.301, allocations: 15.95 kB / 0.7774 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.316, allocations: 9.062 MB / 0.7863 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.316, allocations: 4.031 kB / 0.7863 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.317, allocations: 303.5 kB / 0.7866 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/1.32, allocations: 0.8477 MB / 0.7874 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/1.32, allocations: 39.03 kB / 0.7875 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007231/1.327, allocations: 7.538 MB / 0.7948 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.327, allocations: 0 / 0.7948 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007902/1.335, allocations: 6.179 MB / 0.8008 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.337, allocations: 467.6 kB / 0.8013 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005063/1.337, allocations: 36.94 kB / 0.8013 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.339, allocations: 107.9 kB / 0.8014 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/1.339, allocations: 121.8 kB / 0.8015 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.339, allocations: 45.33 kB / 0.8016 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004001/1.343, allocations: 3.161 MB / 0.8047 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.343, allocations: 4.469 kB / 0.8047 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00564/1.349, allocations: 1.169 MB / 0.8058 GB, free: 110.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 (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.0004864/1.349, allocations: 181 kB / 0.806 GB, free: 110.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007716/1.357, allocations: 5.514 MB / 0.8114 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.357, allocations: 4 kB / 0.8114 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/1.359, allocations: 1.886 MB / 0.8132 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.362, allocations: 0.5283 MB / 0.8137 GB, free: 102.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.381, allocations: 12.83 MB / 0.8263 GB, free: 89.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0053/1.386, allocations: 3.973 MB / 0.8302 GB, free: 85.44 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005165/1.392, allocations: 2 MB / 0.8321 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/1.392, allocations: 271.4 kB / 0.8324 GB, free: 83.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/1.392, allocations: 0 / 0.8324 GB, free: 83.17 MB / 0.5294 GB Notification: Performance of Templates: time 0.07003/1.463, allocations: 41.32 MB / 0.8727 GB, free: 42.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches