Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 94.69 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 203.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 11.98 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 63.46 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3166/0.4521, allocations: 59.59 MB / 0.5283 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0385/0.4907, allocations: 13.94 MB / 0.5419 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01693/0.5076, allocations: 303.2 kB / 0.5422 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01537/0.5231, allocations: 2.983 MB / 0.5451 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03527/0.5584, allocations: 8.548 MB / 0.5535 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.5631, allocations: 0.7938 MB / 0.5542 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.06691/0.63, allocations: 48.58 MB / 0.6017 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009708/0.6398, allocations: 6.508 MB / 0.608 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.643, allocations: 1.359 MB / 0.6094 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004045/0.6471, allocations: 1.748 MB / 0.6111 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.6483, allocations: 180 kB / 0.6112 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.6509, allocations: 0.9402 MB / 0.6122 GB, free: 1.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.6535, allocations: 2.015 MB / 0.6141 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.6551, allocations: 1.057 MB / 0.6152 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008866/0.664, allocations: 7.221 MB / 0.6222 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6641, allocations: 0 / 0.6222 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6641, allocations: 0 / 0.6222 GB, free: 7.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003434/0.6644, allocations: 4 kB / 0.6222 GB, free: 7.309 MB / 462.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.01372/0.6782, allocations: 5.398 MB / 0.6275 GB, free: 1.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6782, allocations: 8.031 kB / 0.6275 GB, free: 1.832 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04346/0.7217, allocations: 8.04 MB / 0.6353 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009562/0.7313, allocations: 3.88 MB / 0.6391 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.7316, allocations: 299.8 kB / 0.6394 GB, free: 5.547 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.7333, allocations: 423.8 kB / 0.6398 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/0.7577, allocations: 11.74 MB / 0.6513 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.7579, allocations: 59.52 kB / 0.6514 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005834/0.7585, allocations: 183.9 kB / 0.6515 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/0.7621, allocations: 2.089 MB / 0.6536 GB, free: 6.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02085/0.783, allocations: 9.983 MB / 0.6633 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3096/1.093, allocations: 45.54 MB / 0.7078 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/1.105, allocations: 4.253 MB / 0.7119 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/1.124, allocations: 9.546 MB / 0.7213 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/1.124, allocations: 46.47 kB / 0.7213 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.656e-06/1.124, allocations: 0 / 0.7213 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.04802/1.172, allocations: 18.54 MB / 0.7394 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.172, allocations: 199.3 kB / 0.7396 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/1.177, allocations: 4.939 MB / 0.7444 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/1.178, allocations: 54.36 kB / 0.7445 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.179, allocations: 3.638 MB / 0.748 GB, free: 159 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006508/1.18, allocations: 0.7652 MB / 0.7488 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.18, allocations: 130.3 kB / 0.7489 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002337/1.181, allocations: 0.5691 MB / 0.7495 GB, free: 157.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/1.183, allocations: 2.167 MB / 0.7516 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/1.187, allocations: 5.985 MB / 0.7574 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/1.191, allocations: 3.534 MB / 0.7609 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.994e-05/1.191, allocations: 39.94 kB / 0.7609 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=818) (initialization): time 0.0128/1.204, allocations: 8.749 MB / 0.7695 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/1.204, allocations: 68.22 kB / 0.7695 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-05/1.204, allocations: 132 kB / 0.7696 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/1.207, allocations: 1.093 MB / 0.7707 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004403/1.211, allocations: 1.432 MB / 0.7721 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008886/1.22, allocations: 8.39 MB / 0.7803 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/1.226, allocations: 339.4 kB / 0.7806 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.227, allocations: 385.1 kB / 0.781 GB, free: 124.6 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.004644/1.232, allocations: 2.483 MB / 0.7834 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.233, allocations: 414.7 kB / 0.7838 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00637/1.239, allocations: 3.487 MB / 0.7872 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/1.239, allocations: 29.17 kB / 0.7872 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.239, allocations: 11.95 kB / 0.7873 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.239, allocations: 7.969 kB / 0.7873 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.257, allocations: 9.072 MB / 0.7961 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/1.257, allocations: 4 kB / 0.7961 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/1.259, allocations: 303.5 kB / 0.7964 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/1.261, allocations: 0.8468 MB / 0.7972 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/1.261, allocations: 36.94 kB / 0.7973 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007804/1.269, allocations: 7.539 MB / 0.8046 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.269, allocations: 0 / 0.8046 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008918/1.278, allocations: 6.171 MB / 0.8107 GB, free: 93.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/1.28, allocations: 479.5 kB / 0.8111 GB, free: 93.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/1.281, allocations: 33.41 kB / 0.8112 GB, free: 93.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.284, allocations: 107.9 kB / 0.8113 GB, free: 93.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003902/1.284, allocations: 121.1 kB / 0.8114 GB, free: 93.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.284, allocations: 52.69 kB / 0.8114 GB, free: 92.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005824/1.29, allocations: 3.154 MB / 0.8145 GB, free: 89.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/1.29, allocations: 0 / 0.8145 GB, free: 89.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007094/1.297, allocations: 1.16 MB / 0.8156 GB, free: 88.67 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.0007142/1.298, allocations: 187.3 kB / 0.8158 GB, free: 88.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008935/1.307, allocations: 5.522 MB / 0.8212 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.307, allocations: 0 / 0.8212 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/1.31, allocations: 1.882 MB / 0.8231 GB, free: 81.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.314, allocations: 0.511 MB / 0.8236 GB, free: 80.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.337, allocations: 12.83 MB / 0.8361 GB, free: 67.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006107/1.343, allocations: 3.961 MB / 0.84 GB, free: 63.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005513/1.349, allocations: 2.004 MB / 0.8419 GB, free: 61.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.35, allocations: 271.4 kB / 0.8422 GB, free: 61.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/1.35, allocations: 3.938 kB / 0.8422 GB, free: 61.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.07575/1.426, allocations: 41.22 MB / 0.8824 GB, free: 20.4 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches