Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 175.9 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007529/0.0007529, allocations: 86.38 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3595/0.3595, allocations: 43.56 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4853, allocations: 109.7 MB / 0.5871 GB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4856, allocations: 83.89 kB / 0.5872 GB, free: 8.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429/1.915, allocations: 281.6 MB / 0.8622 GB, free: 39.65 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.875e-06/1.915, allocations: 0 / 0.8622 GB, free: 39.65 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001213/1.916, allocations: 280.1 kB / 0.8625 GB, free: 39.65 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.05355/1.969, allocations: 13.69 MB / 0.8759 GB, free: 37.16 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.969, allocations: 11 kB / 0.8759 GB, free: 37.16 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06201/2.031, allocations: 15.24 MB / 0.8907 GB, free: 36.15 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03567/2.067, allocations: 13.64 MB / 0.9041 GB, free: 34.5 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001507/2.069, allocations: 1.098 MB / 0.9051 GB, free: 34.47 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009073/2.078, allocations: 1.469 MB / 0.9066 GB, free: 34.45 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09613/2.174, allocations: 36.27 MB / 0.942 GB, free: 28.79 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001395/2.175, allocations: 138.3 kB / 0.9421 GB, free: 28.77 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008986/2.184, allocations: 0.6676 MB / 0.9428 GB, free: 28.77 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005496/2.19, allocations: 3.723 MB / 0.9464 GB, free: 28.74 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06706/2.257, allocations: 32.69 MB / 0.9783 GB, free: 22.77 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5671/2.824, allocations: 140.3 MB / 1.115 GB, free: 30.05 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03403/2.858, allocations: 15.78 MB / 1.131 GB, free: 28.18 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01519/2.873, allocations: 9.721 MB / 1.14 GB, free: 28.12 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07155/2.945, allocations: 35.46 MB / 1.175 GB, free: 25.52 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/2.945, allocations: 100.8 kB / 1.175 GB, free: 25.47 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=747): time 1.582e-05/2.945, allocations: 0 / 1.175 GB, free: 25.47 MB / 0.5574 GB Notification: Performance of matching and sorting (n=829): time 0.2279/3.173, allocations: 81.92 MB / 1.255 GB, free: 3.117 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002305/3.173, allocations: 315.8 kB / 1.255 GB, free: 2.754 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04284/3.216, allocations: 11.87 MB / 1.267 GB, free: 13.22 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/3.218, allocations: 140.4 kB / 1.267 GB, free: 13.08 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.009409/3.227, allocations: 9.834 MB / 1.277 GB, free: 4.301 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004767/3.232, allocations: 2.993 MB / 1.28 GB, free: 1.648 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002682/3.235, allocations: 356 kB / 1.28 GB, free: 1.301 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.002121/3.237, allocations: 1.101 MB / 1.281 GB, free: 428 kB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04853/3.285, allocations: 11.03 MB / 1.292 GB, free: 0 / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3363/3.622, allocations: 17.96 MB / 1.309 GB, free: 109.5 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03524/3.657, allocations: 28.5 MB / 1.337 GB, free: 97.12 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004677/3.658, allocations: 95.75 kB / 1.337 GB, free: 97.12 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.05967/3.717, allocations: 27.93 MB / 1.364 GB, free: 94.6 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007858/3.718, allocations: 149.5 kB / 1.365 GB, free: 94.6 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009201/3.719, allocations: 334.3 kB / 1.365 GB, free: 94.6 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007395/3.726, allocations: 2.359 MB / 1.367 GB, free: 94.55 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01742/3.744, allocations: 4.292 MB / 1.371 GB, free: 94.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/3.765, allocations: 14.41 MB / 1.385 GB, free: 90.24 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/3.782, allocations: 1.099 MB / 1.387 GB, free: 89.95 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004484/3.786, allocations: 0.9959 MB / 1.388 GB, free: 89.81 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 93 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2208): * Single equations (assignments): 2191 * Array equations: 15 * 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%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02013/3.806, allocations: 7.187 MB / 1.395 GB, free: 86.89 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00349/3.81, allocations: 1.012 MB / 1.396 GB, free: 86.89 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03347/3.843, allocations: 16.07 MB / 1.411 GB, free: 80.86 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001796/3.843, allocations: 167 kB / 1.411 GB, free: 80.84 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-05/3.844, allocations: 9.938 kB / 1.411 GB, free: 80.84 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000125/3.844, allocations: 37.33 kB / 1.411 GB, free: 80.84 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07981/3.923, allocations: 34.98 MB / 1.446 GB, free: 66.49 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.525e-05/3.924, allocations: 7.562 kB / 1.446 GB, free: 66.49 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006997/3.931, allocations: 1.404 MB / 1.447 GB, free: 65.38 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005341/3.936, allocations: 1.769 MB / 1.449 GB, free: 64.14 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001567/3.938, allocations: 135 kB / 1.449 GB, free: 64.02 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/3.953, allocations: 12.96 MB / 1.461 GB, free: 52.6 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/3.953, allocations: 8 kB / 1.461 GB, free: 52.59 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03909/3.992, allocations: 25.31 MB / 1.486 GB, free: 30.43 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00681/3.999, allocations: 2.247 MB / 1.488 GB, free: 28.35 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003708/4.003, allocations: 121.6 kB / 1.488 GB, free: 28.23 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007181/4.01, allocations: 0.5353 MB / 1.489 GB, free: 27.9 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/4.012, allocations: 445.4 kB / 1.489 GB, free: 27.62 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00132/4.014, allocations: 191 kB / 1.49 GB, free: 27.44 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01515/4.029, allocations: 6.52 MB / 1.496 GB, free: 22.14 MB / 0.5887 GB Notification: Performance of sort global known variables: time 3.91e-07/4.029, allocations: 4 kB / 1.496 GB, free: 22.14 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.02874/4.058, allocations: 4.728 MB / 1.501 GB, free: 21.4 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (655): * Single equations (assignments): 638 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3403/4.398, allocations: 316.8 kB / 1.501 GB, free: 106.5 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.03625/4.434, allocations: 19.89 MB / 1.52 GB, free: 106.1 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/4.434, allocations: 3.312 kB / 1.52 GB, free: 106.1 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.01453/4.449, allocations: 7.783 MB / 1.528 GB, free: 105.8 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01964/4.469, allocations: 1.358 MB / 1.529 GB, free: 105.7 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08659/4.555, allocations: 41.11 MB / 1.569 GB, free: 90.87 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02607/4.581, allocations: 10.28 MB / 1.579 GB, free: 89.78 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.02291/4.604, allocations: 6.674 MB / 1.586 GB, free: 89.53 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005449/4.61, allocations: 0.722 MB / 1.587 GB, free: 89.52 MB / 0.5887 GB Notification: Performance of SimCode: time 1.182e-06/4.61, allocations: 3.031 kB / 1.587 GB, free: 89.52 MB / 0.5887 GB Notification: Performance of Templates: time 0.2021/4.812, allocations: 103.5 MB / 1.688 GB, free: 38.37 MB / 0.5887 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches