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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [: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 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 175.1 kB / 8.52 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008755, allocations: 83.42 kB / 281.2 MB, free: 5.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.164/0.164, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.104e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3087/0.4165, allocations: 109.1 MB / 0.6006 GB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4168, allocations: 83.89 kB / 0.6007 GB, free: 3.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4586/0.8754, allocations: 100.8 MB / 0.6992 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002956/0.8757, allocations: 107.5 kB / 0.6993 GB, free: 104.7 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01328/0.889, allocations: 5.078 MB / 0.7042 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8891, allocations: 10.59 kB / 0.7042 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02574/0.9148, allocations: 6.523 MB / 0.7106 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.9312, allocations: 6.552 MB / 0.717 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.9316, allocations: 168.6 kB / 0.7172 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.9343, allocations: 316.9 kB / 0.7175 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01273/0.947, allocations: 7.462 MB / 0.7247 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.9654, allocations: 11.14 MB / 0.7356 GB, free: 99.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/0.9656, allocations: 75.5 kB / 0.7357 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008034/0.9664, allocations: 34.25 kB / 0.7357 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/0.9676, allocations: 1.138 MB / 0.7368 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05071/1.018, allocations: 55.81 MB / 0.7913 GB, free: 60.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004288/1.023, allocations: 3.424 MB / 0.7947 GB, free: 58.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/1.025, allocations: 2.408 MB / 0.797 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/1.037, allocations: 7.559 MB / 0.8044 GB, free: 52.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.037, allocations: 50.66 kB / 0.8045 GB, free: 52.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=171): time 4.749e-06/1.037, allocations: 0 / 0.8045 GB, free: 52.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=198): time 0.038/1.075, allocations: 17.67 MB / 0.8217 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.075, allocations: 201.2 kB / 0.8219 GB, free: 41.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/1.079, allocations: 3.637 MB / 0.8255 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/1.08, allocations: 25.7 kB / 0.8255 GB, free: 38.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/1.081, allocations: 3.337 MB / 0.8288 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/1.082, allocations: 0.7446 MB / 0.8295 GB, free: 34.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/1.082, allocations: 0 / 0.8295 GB, free: 34.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.082, allocations: 0.5835 MB / 0.8301 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/1.084, allocations: 2.022 MB / 0.832 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/1.088, allocations: 5.972 MB / 0.8379 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/1.091, allocations: 3.487 MB / 0.8413 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-05/1.091, allocations: 40 kB / 0.8413 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0112/1.103, allocations: 7.724 MB / 0.8488 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.103, allocations: 8.125 kB / 0.8489 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/1.103, allocations: 147.8 kB / 0.849 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/1.105, allocations: 0.9092 MB / 0.8499 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/1.109, allocations: 1.469 MB / 0.8513 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007107/1.116, allocations: 6.87 MB / 0.858 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005438/1.122, allocations: 199.7 kB / 0.8582 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007112/1.122, allocations: 399.3 kB / 0.8586 GB, free: 5.527 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * 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 (785): * Single equations (assignments): 780 * 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.0007839/1.123, allocations: 467.6 kB / 0.859 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/1.124, allocations: 387.5 kB / 0.8594 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/1.129, allocations: 3.078 MB / 0.8624 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/1.129, allocations: 23.84 kB / 0.8624 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.129, allocations: 4 kB / 0.8624 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/1.129, allocations: 16.77 kB / 0.8625 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.146, allocations: 7.703 MB / 0.87 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.146, allocations: 4 kB / 0.87 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.147, allocations: 286.8 kB / 0.8703 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/1.15, allocations: 0.6698 MB / 0.8709 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/1.15, allocations: 11.98 kB / 0.8709 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007708/1.158, allocations: 6.042 MB / 0.8768 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.158, allocations: 4.062 kB / 0.8768 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008367/1.166, allocations: 5.702 MB / 0.8824 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.167, allocations: 416 kB / 0.8828 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/1.168, allocations: 4 kB / 0.8828 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.169, allocations: 51.94 kB / 0.8828 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.17, allocations: 97.02 kB / 0.8829 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.17, allocations: 55.98 kB / 0.883 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004104/1.174, allocations: 2.473 MB / 0.8854 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005586/1.179, allocations: 0.9687 MB / 0.8864 GB, free: 11.18 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 143 * 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.0004216/1.18, allocations: 139.1 kB / 0.8865 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007498/1.187, allocations: 5.053 MB / 0.8914 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.187, allocations: 1 kB / 0.8914 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.19, allocations: 1.702 MB / 0.8931 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.192, allocations: 446.7 kB / 0.8935 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2053/1.398, allocations: 8.852 MB / 0.9022 GB, free: 178.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004511/1.402, allocations: 4.256 MB / 0.9063 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/1.402, allocations: 0 / 0.9063 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.07169/1.474, allocations: 40.14 MB / 0.9455 GB, free: 175.9 MB / 0.5261 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