Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1D,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.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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 174.8 kB / 8.518 MB, free: 1.828 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.194/1.194, allocations: 221.4 MB / 230.3 MB, free: 7.777 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.0008809/0.0008809, allocations: 88.67 kB / 281.2 MB, free: 5.531 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.1664/0.1664, allocations: 44.14 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.082e-06/6.122e-06, allocations: 224 / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 61.9 MB / 0.4941 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3386/0.4551, allocations: 109.1 MB / 0.6007 GB, free: 3.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.4554, allocations: 75.95 kB / 0.6007 GB, free: 3.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4856/0.941, allocations: 100.3 MB / 0.6987 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000362/0.9414, allocations: 107.4 kB / 0.6988 GB, free: 104.9 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.01472/0.9561, allocations: 5.05 MB / 0.7037 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.9562, allocations: 8.531 kB / 0.7037 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/0.9809, allocations: 6.491 MB / 0.71 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/0.9969, allocations: 6.535 MB / 0.7164 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.9972, allocations: 166 kB / 0.7166 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.9994, allocations: 310.2 kB / 0.7169 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01208/1.012, allocations: 7.118 MB / 0.7238 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/1.034, allocations: 10.95 MB / 0.7345 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/1.034, allocations: 67.09 kB / 0.7346 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/1.036, allocations: 37.31 kB / 0.7346 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001479/1.038, allocations: 1.139 MB / 0.7357 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/1.095, allocations: 55.37 MB / 0.7898 GB, free: 60.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004638/1.1, allocations: 3.317 MB / 0.793 GB, free: 58.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/1.103, allocations: 2.285 MB / 0.7953 GB, free: 57.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/1.116, allocations: 7.295 MB / 0.8024 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/1.116, allocations: 58.94 kB / 0.8025 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=169): time 5.691e-06/1.116, allocations: 0 / 0.8025 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191): time 0.03872/1.155, allocations: 16.66 MB / 0.8187 GB, free: 44.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/1.155, allocations: 201.2 kB / 0.8189 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/1.162, allocations: 3.639 MB / 0.8225 GB, free: 40.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/1.162, allocations: 25.7 kB / 0.8225 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.164, allocations: 3.341 MB / 0.8258 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007933/1.164, allocations: 0.7113 MB / 0.8265 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/1.165, allocations: 0 / 0.8265 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002753/1.165, allocations: 0.5784 MB / 0.827 GB, free: 36.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/1.167, allocations: 1.992 MB / 0.829 GB, free: 34.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/1.171, allocations: 5.934 MB / 0.8348 GB, free: 27.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/1.175, allocations: 3.441 MB / 0.8381 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.175, allocations: 44 kB / 0.8382 GB, free: 24.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=838) (initialization): time 0.01629/1.192, allocations: 7.638 MB / 0.8456 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.192, allocations: 4.969 kB / 0.8456 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002889/1.192, allocations: 143.8 kB / 0.8458 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/1.195, allocations: 0.9125 MB / 0.8467 GB, free: 16.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/1.2, allocations: 1.455 MB / 0.8481 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/1.207, allocations: 6.714 MB / 0.8546 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/1.212, allocations: 190.9 kB / 0.8548 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.214, allocations: 395.1 kB / 0.8552 GB, free: 8.539 MB / 0.4948 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.001751/1.216, allocations: 464.1 kB / 0.8556 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.217, allocations: 391.6 kB / 0.856 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006629/1.223, allocations: 3.004 MB / 0.8589 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.558e-05/1.223, allocations: 20 kB / 0.859 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/1.223, allocations: 4 kB / 0.859 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/1.223, allocations: 16.39 kB / 0.859 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/1.245, allocations: 7.529 MB / 0.8663 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.245, allocations: 7.844 kB / 0.8663 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.247, allocations: 275.7 kB / 0.8666 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.25, allocations: 0.6696 MB / 0.8673 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/1.25, allocations: 5.922 kB / 0.8673 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008194/1.258, allocations: 6.05 MB / 0.8732 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.258, allocations: 3.938 kB / 0.8732 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008708/1.267, allocations: 5.559 MB / 0.8786 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.268, allocations: 412 kB / 0.879 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.269, allocations: 0 / 0.879 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.271, allocations: 59.92 kB / 0.879 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/1.271, allocations: 93.02 kB / 0.8791 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.272, allocations: 44 kB / 0.8792 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.005358/1.277, allocations: 2.486 MB / 0.8816 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007046/1.284, allocations: 0.9547 MB / 0.8825 GB, free: 15.01 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.0006889/1.285, allocations: 146.8 kB / 0.8827 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.296, allocations: 4.972 MB / 0.8875 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.296, allocations: 0 / 0.8875 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.299, allocations: 1.661 MB / 0.8892 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/1.302, allocations: 443.6 kB / 0.8896 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2335/1.536, allocations: 8.784 MB / 0.8982 GB, free: 180 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006911/1.543, allocations: 4.237 MB / 0.9023 GB, free: 179.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/1.543, allocations: 0 / 0.9023 GB, free: 179.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.07238/1.615, allocations: 39.61 MB / 0.941 GB, free: 177.5 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches