Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.00091/0.00091, allocations: 192.6 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007358/0.0007358, allocations: 81.34 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1536/0.1536, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.551e-06/5.571e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.3274, allocations: 108 MB / 0.5709 GB, free: 6.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.3276, allocations: 83.95 kB / 0.571 GB, free: 6.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3815/0.7091, allocations: 103 MB / 0.6715 GB, free: 105.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.7094, allocations: 107.9 kB / 0.6716 GB, free: 105.2 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.0101/0.7195, allocations: 5.226 MB / 0.6767 GB, free: 103.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.7196, allocations: 7.562 kB / 0.6767 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/0.7414, allocations: 6.527 MB / 0.6831 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/0.7546, allocations: 6.956 MB / 0.6899 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.7548, allocations: 173.2 kB / 0.69 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.7559, allocations: 326 kB / 0.6904 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01009/0.766, allocations: 7.449 MB / 0.6976 GB, free: 98.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.7791, allocations: 11.38 MB / 0.7087 GB, free: 91.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.7793, allocations: 79.7 kB / 0.7088 GB, free: 91.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005119/0.7798, allocations: 34.38 kB / 0.7089 GB, free: 91.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/0.7812, allocations: 1.209 MB / 0.71 GB, free: 91.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04067/0.8218, allocations: 56.85 MB / 0.7655 GB, free: 35.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.825, allocations: 3.5 MB / 0.769 GB, free: 31.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.827, allocations: 2.448 MB / 0.7714 GB, free: 29.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008378/0.8354, allocations: 7.726 MB / 0.7789 GB, free: 21.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.8355, allocations: 51.88 kB / 0.779 GB, free: 21.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 3.246e-06/0.8355, allocations: 0 / 0.779 GB, free: 21.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=213): time 0.02891/0.8644, allocations: 18.54 MB / 0.7971 GB, free: 2.848 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.8645, allocations: 205.2 kB / 0.7973 GB, free: 2.602 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.8685, allocations: 3.755 MB / 0.8009 GB, free: 14.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.8686, allocations: 25.7 kB / 0.8009 GB, free: 14.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001661/0.8703, allocations: 3.454 MB / 0.8043 GB, free: 11.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006/0.8709, allocations: 0.7942 MB / 0.8051 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.8711, allocations: 0 / 0.8051 GB, free: 10.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003237/0.8714, allocations: 0.5873 MB / 0.8057 GB, free: 9.895 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.8741, allocations: 2.165 MB / 0.8078 GB, free: 7.727 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004765/0.8789, allocations: 6.243 MB / 0.8139 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.8831, allocations: 3.686 MB / 0.8175 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.246e-05/0.8832, allocations: 40 kB / 0.8175 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01192/0.8951, allocations: 8.118 MB / 0.8254 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8952, allocations: 7.984 kB / 0.8255 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.8953, allocations: 144 kB / 0.8256 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/0.8976, allocations: 0.9241 MB / 0.8265 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004837/0.9025, allocations: 1.54 MB / 0.828 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/1.046, allocations: 6.697 MB / 0.8345 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00454/1.051, allocations: 210.8 kB / 0.8347 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009549/1.051, allocations: 416.7 kB / 0.8351 GB, free: 170.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (823): * Single equations (assignments): 818 * 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.0008311/1.052, allocations: 481.5 kB / 0.8356 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/1.053, allocations: 401.2 kB / 0.836 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005234/1.058, allocations: 3.373 MB / 0.8393 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/1.058, allocations: 19.16 kB / 0.8393 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.058, allocations: 10.06 kB / 0.8393 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.058, allocations: 9.281 kB / 0.8393 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.071, allocations: 8.053 MB / 0.8472 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.071, allocations: 2.438 kB / 0.8472 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.073, allocations: 326.2 kB / 0.8475 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/1.075, allocations: 0.6679 MB / 0.8481 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.075, allocations: 12.77 kB / 0.8482 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006224/1.081, allocations: 6.034 MB / 0.854 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.081, allocations: 2.875 kB / 0.854 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007286/1.088, allocations: 6.15 MB / 0.8601 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.09, allocations: 0.7063 MB / 0.8607 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/1.09, allocations: 3.531 kB / 0.8607 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.092, allocations: 57.45 kB / 0.8608 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.092, allocations: 100.2 kB / 0.8609 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.092, allocations: 62.86 kB / 0.861 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003138/1.095, allocations: 2.555 MB / 0.8635 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004817/1.1, allocations: 1.01 MB / 0.8644 GB, free: 164.2 MB / 0.4948 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 (164): * Single equations (assignments): 159 * 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.00041/1.101, allocations: 156.1 kB / 0.8646 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006839/1.107, allocations: 5.381 MB / 0.8698 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.107, allocations: 3.406 kB / 0.8698 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002269/1.11, allocations: 1.834 MB / 0.8716 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.112, allocations: 432.4 kB / 0.872 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/1.127, allocations: 9.317 MB / 0.8811 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005154/1.132, allocations: 4.419 MB / 0.8855 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/1.132, allocations: 0.6562 kB / 0.8855 GB, free: 156.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.06824/1.201, allocations: 42.22 MB / 0.9267 GB, free: 133.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches