Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008521/0.000852, allocations: 91.84 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.133e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.09976, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.471, allocations: 110 MB / 0.6112 GB, free: 9.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4713, allocations: 83.27 kB / 0.6113 GB, free: 9.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2823/0.7536, allocations: 102.5 MB / 0.7114 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004651/0.7541, allocations: 104 kB / 0.7115 GB, free: 10.76 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.0194/0.7735, allocations: 5.109 MB / 0.7164 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.7736, allocations: 12.03 kB / 0.7165 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02852/0.8021, allocations: 6.517 MB / 0.7228 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01848/0.8207, allocations: 5.883 MB / 0.7286 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.8211, allocations: 168 kB / 0.7287 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.8239, allocations: 307.8 kB / 0.729 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01554/0.8395, allocations: 7.119 MB / 0.736 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02554/0.8651, allocations: 10.94 MB / 0.7467 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005032/0.8656, allocations: 75.3 kB / 0.7467 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003035/0.8687, allocations: 35.98 kB / 0.7468 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002196/0.8709, allocations: 1.148 MB / 0.7479 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2884/1.159, allocations: 55.35 MB / 0.8019 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/1.164, allocations: 3.313 MB / 0.8052 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/1.166, allocations: 2.29 MB / 0.8074 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/1.177, allocations: 7.296 MB / 0.8145 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/1.177, allocations: 55.73 kB / 0.8146 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=169): time 5.4e-06/1.177, allocations: 0 / 0.8146 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=191): time 0.03246/1.21, allocations: 16.67 MB / 0.8309 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/1.21, allocations: 200.2 kB / 0.8311 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/1.215, allocations: 3.641 MB / 0.8346 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/1.215, allocations: 25.7 kB / 0.8346 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.216, allocations: 3.332 MB / 0.8379 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006341/1.217, allocations: 0.7215 MB / 0.8386 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/1.217, allocations: 0 / 0.8386 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000261/1.218, allocations: 0.5748 MB / 0.8392 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/1.22, allocations: 1.992 MB / 0.8411 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003511/1.223, allocations: 5.924 MB / 0.8469 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/1.227, allocations: 3.45 MB / 0.8503 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-05/1.227, allocations: 41.75 kB / 0.8503 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.01188/1.239, allocations: 7.634 MB / 0.8578 GB, free: 48.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.239, allocations: 10.06 kB / 0.8578 GB, free: 48.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/1.239, allocations: 144.1 kB / 0.8579 GB, free: 48.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/1.242, allocations: 0.9053 MB / 0.8588 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/1.247, allocations: 1.452 MB / 0.8602 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007987/1.255, allocations: 6.711 MB / 0.8668 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/1.26, allocations: 201.8 kB / 0.867 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009865/1.261, allocations: 393.8 kB / 0.8673 GB, free: 44.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 773 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009116/1.262, allocations: 468.4 kB / 0.8678 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006774/1.262, allocations: 390.2 kB / 0.8681 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/1.268, allocations: 3.003 MB / 0.8711 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/1.268, allocations: 17.38 kB / 0.8711 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.897e-05/1.268, allocations: 6.375 kB / 0.8711 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.268, allocations: 8.641 kB / 0.8711 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/1.283, allocations: 7.403 MB / 0.8783 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.283, allocations: 0 / 0.8783 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.285, allocations: 271.5 kB / 0.8786 GB, free: 38.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/1.287, allocations: 0.6654 MB / 0.8792 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.287, allocations: 11.42 kB / 0.8793 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006284/1.293, allocations: 6.044 MB / 0.8852 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.293, allocations: 7.906 kB / 0.8852 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007204/1.3, allocations: 5.558 MB / 0.8906 GB, free: 27.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.302, allocations: 415.4 kB / 0.891 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/1.302, allocations: 4 kB / 0.891 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.304, allocations: 57.16 kB / 0.8911 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/1.304, allocations: 86.67 kB / 0.8911 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.304, allocations: 48 kB / 0.8912 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003905/1.308, allocations: 2.482 MB / 0.8936 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007932/1.316, allocations: 0.9743 MB / 0.8946 GB, free: 24.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 136 * 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.0004759/1.316, allocations: 135.8 kB / 0.8947 GB, free: 24.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007559/1.324, allocations: 4.97 MB / 0.8995 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.324, allocations: 0 / 0.8995 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002326/1.326, allocations: 1.649 MB / 0.9011 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/1.329, allocations: 439.7 kB / 0.9016 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.351, allocations: 8.802 MB / 0.9102 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006929/1.358, allocations: 4.246 MB / 0.9143 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/1.358, allocations: 0 / 0.9143 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of Templates: time 0.0895/1.448, allocations: 39.78 MB / 0.9532 GB, free: 7.578 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches