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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 101.7 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3582/0.3582, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3651, allocations: 62.02 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.05663/0.4218, allocations: 69.59 MB / 0.5831 GB, free: 3.387 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03638/0.4582, allocations: 13.96 MB / 0.5968 GB, free: 5.785 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01858/0.4768, allocations: 307.2 kB / 0.597 GB, free: 5.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007885/0.4848, allocations: 4.196 MB / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006356/0.4912, allocations: 2.032 MB / 0.6031 GB, free: 15.24 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.494, allocations: 0.8543 MB / 0.604 GB, free: 14.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.5072, allocations: 8.92 MB / 0.6127 GB, free: 5.449 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009499/0.5168, allocations: 5.112 MB / 0.6177 GB, free: 276 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/0.5211, allocations: 1.9 MB / 0.6195 GB, free: 14.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005166/0.5263, allocations: 3.01 MB / 0.6225 GB, free: 11.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.5274, allocations: 332 kB / 0.6228 GB, free: 11.02 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.5302, allocations: 1.268 MB / 0.624 GB, free: 9.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.5329, allocations: 2.427 MB / 0.6264 GB, free: 7.316 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.5363, allocations: 2.757 MB / 0.6291 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009489/0.5458, allocations: 8.82 MB / 0.6377 GB, free: 11.69 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.5459, allocations: 0 / 0.6377 GB, free: 11.69 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5459, allocations: 0 / 0.6377 GB, free: 11.69 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003574/0.5463, allocations: 4 kB / 0.6377 GB, free: 11.69 MB / 458.7 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.01543/0.5617, allocations: 6.161 MB / 0.6437 GB, free: 5.453 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5618, allocations: 8.031 kB / 0.6437 GB, free: 5.445 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.5736, allocations: 2.603 MB / 0.6463 GB, free: 2.832 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.5838, allocations: 3.75 MB / 0.6499 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.5841, allocations: 304.2 kB / 0.6502 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.586, allocations: 435.8 kB / 0.6506 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.6071, allocations: 11.73 MB / 0.6621 GB, free: 1.828 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.6073, allocations: 55.48 kB / 0.6621 GB, free: 1.773 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005003/0.6078, allocations: 191.9 kB / 0.6623 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/0.6113, allocations: 2.089 MB / 0.6644 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.6313, allocations: 10.09 MB / 0.6742 GB, free: 5.383 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3636/0.9949, allocations: 45.96 MB / 0.7191 GB, free: 98.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/1.012, allocations: 4.365 MB / 0.7234 GB, free: 96.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005152/1.017, allocations: 2.476 MB / 0.7258 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02058/1.038, allocations: 9.847 MB / 0.7354 GB, free: 91.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/1.038, allocations: 57.78 kB / 0.7355 GB, free: 90.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 6.362e-06/1.038, allocations: 0 / 0.7355 GB, free: 90.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.04709/1.085, allocations: 19.98 MB / 0.755 GB, free: 78.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/1.085, allocations: 205.2 kB / 0.7552 GB, free: 78.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/1.091, allocations: 4.709 MB / 0.7598 GB, free: 73.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003906/1.091, allocations: 57.7 kB / 0.7598 GB, free: 73.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.093, allocations: 3.594 MB / 0.7633 GB, free: 70 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006801/1.093, allocations: 0.7634 MB / 0.7641 GB, free: 69.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/1.095, allocations: 1.333 MB / 0.7654 GB, free: 67.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/1.095, allocations: 305.1 kB / 0.7657 GB, free: 67.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/1.097, allocations: 2.406 MB / 0.768 GB, free: 65.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/1.101, allocations: 6.27 MB / 0.7741 GB, free: 57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007281/1.109, allocations: 9.331 MB / 0.7833 GB, free: 45.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.548e-05/1.109, allocations: 43.94 kB / 0.7833 GB, free: 45.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01533/1.124, allocations: 9.791 MB / 0.7929 GB, free: 35.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/1.124, allocations: 63.94 kB / 0.7929 GB, free: 35.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.124, allocations: 136 kB / 0.793 GB, free: 35.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003833/1.128, allocations: 1.612 MB / 0.7946 GB, free: 34.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/1.132, allocations: 1.485 MB / 0.7961 GB, free: 32.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009641/1.142, allocations: 9.557 MB / 0.8054 GB, free: 22.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/1.147, allocations: 367.4 kB / 0.8058 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.148, allocations: 388 kB / 0.8061 GB, free: 22.06 MB / 490.7 MB 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 (796): * Single equations (assignments): 791 * 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.00425/1.152, allocations: 2.488 MB / 0.8086 GB, free: 19.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008568/1.153, allocations: 410.7 kB / 0.8089 GB, free: 19.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007381/1.161, allocations: 4.236 MB / 0.8131 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.161, allocations: 20 kB / 0.8131 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.161, allocations: 8 kB / 0.8131 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/1.161, allocations: 11.97 kB / 0.8131 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.179, allocations: 9.77 MB / 0.8227 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.179, allocations: 4 kB / 0.8227 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/1.18, allocations: 299.6 kB / 0.823 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.184, allocations: 1.357 MB / 0.8243 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/1.184, allocations: 43.98 kB / 0.8243 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/1.195, allocations: 8.727 MB / 0.8328 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.195, allocations: 3.938 kB / 0.8328 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07975/1.275, allocations: 42.96 MB / 0.8748 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/1.276, allocations: 459.7 kB / 0.8752 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004529/1.276, allocations: 31.94 kB / 0.8753 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.278, allocations: 115.8 kB / 0.8754 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/1.278, allocations: 117.2 kB / 0.8755 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.278, allocations: 55.98 kB / 0.8755 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004479/1.283, allocations: 2.968 MB / 0.8784 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/1.283, allocations: 0 / 0.8784 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006852/1.289, allocations: 1.589 MB / 0.88 GB, free: 9.547 MB / 0.5417 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 (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.0004448/1.29, allocations: 168.1 kB / 0.8801 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009409/1.299, allocations: 5.962 MB / 0.886 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.299, allocations: 8 kB / 0.886 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/1.303, allocations: 2.007 MB / 0.8879 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.306, allocations: 0.5173 MB / 0.8884 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2759/1.582, allocations: 15.37 MB / 0.9035 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004833/1.587, allocations: 3.926 MB / 0.9073 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004844/1.592, allocations: 1.999 MB / 0.9092 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/1.592, allocations: 277.1 kB / 0.9095 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/1.592, allocations: 0 / 0.9095 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.09528/1.688, allocations: 53.62 MB / 0.9619 GB, free: 139.7 MB / 0.5417 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@2/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