Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 175.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 94.3 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2605/0.2605, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.605e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2705, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.4604, allocations: 107.7 MB / 0.5705 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.4608, allocations: 87.44 kB / 0.5706 GB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5608/1.022, allocations: 82.25 MB / 0.651 GB, free: 107.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002585/1.022, allocations: 90.98 kB / 0.651 GB, free: 107.4 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02656/1.048, allocations: 4.425 MB / 0.6554 GB, free: 105.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.049, allocations: 11.28 kB / 0.6554 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/1.065, allocations: 1.824 MB / 0.6572 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/1.081, allocations: 4.572 MB / 0.6616 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/1.082, allocations: 140.8 kB / 0.6618 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/1.084, allocations: 253.4 kB / 0.662 GB, free: 104.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01679/1.101, allocations: 6.604 MB / 0.6684 GB, free: 104.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0248/1.125, allocations: 9.823 MB / 0.678 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/1.126, allocations: 60.22 kB / 0.6781 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001579/1.127, allocations: 31.56 kB / 0.6781 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/1.13, allocations: 1.072 MB / 0.6792 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07289/1.202, allocations: 46.21 MB / 0.7243 GB, free: 66.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/1.21, allocations: 3.337 MB / 0.7276 GB, free: 64.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004651/1.214, allocations: 1.928 MB / 0.7294 GB, free: 64.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/1.231, allocations: 6.32 MB / 0.7356 GB, free: 60.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/1.231, allocations: 48.66 kB / 0.7357 GB, free: 60.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 6.533e-06/1.231, allocations: 0 / 0.7357 GB, free: 60.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=149): time 0.03537/1.267, allocations: 11.34 MB / 0.7467 GB, free: 51.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/1.267, allocations: 149.3 kB / 0.7469 GB, free: 51.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/1.274, allocations: 3.127 MB / 0.7499 GB, free: 48.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004041/1.274, allocations: 25.7 kB / 0.7499 GB, free: 48.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/1.277, allocations: 2.983 MB / 0.7529 GB, free: 45.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.278, allocations: 0.5853 MB / 0.7534 GB, free: 45.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006581/1.278, allocations: 3.938 kB / 0.7534 GB, free: 45.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004548/1.279, allocations: 0.5619 MB / 0.754 GB, free: 44.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005137/1.284, allocations: 1.897 MB / 0.7558 GB, free: 43.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007637/1.292, allocations: 5.724 MB / 0.7614 GB, free: 35.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007782/1.299, allocations: 3.28 MB / 0.7646 GB, free: 33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.3, allocations: 44.7 kB / 0.7647 GB, free: 32.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02277/1.322, allocations: 7.221 MB / 0.7717 GB, free: 26.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.322, allocations: 8 kB / 0.7717 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002381/1.323, allocations: 139.4 kB / 0.7719 GB, free: 26.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004646/1.327, allocations: 0.8559 MB / 0.7727 GB, free: 25.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008984/1.336, allocations: 1.394 MB / 0.7741 GB, free: 24.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009869/1.346, allocations: 4.873 MB / 0.7788 GB, free: 19.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/1.352, allocations: 191.9 kB / 0.779 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.353, allocations: 383.2 kB / 0.7794 GB, free: 19.03 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 741 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001601/1.355, allocations: 371.6 kB / 0.7797 GB, free: 18.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007944/1.356, allocations: 316 kB / 0.78 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/1.365, allocations: 2.708 MB / 0.7827 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.884e-05/1.366, allocations: 16 kB / 0.7827 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.366, allocations: 8 kB / 0.7827 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/1.366, allocations: 7.969 kB / 0.7827 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/1.386, allocations: 6.228 MB / 0.7888 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.386, allocations: 0 / 0.7888 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.389, allocations: 231.7 kB / 0.789 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/1.393, allocations: 0.6407 MB / 0.7896 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003884/1.393, allocations: 4 kB / 0.7896 GB, free: 8.477 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008436/1.402, allocations: 4.131 MB / 0.7937 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.402, allocations: 0 / 0.7937 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01317/1.415, allocations: 5.087 MB / 0.7986 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.417, allocations: 0.571 MB / 0.7992 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009939/1.418, allocations: 4 kB / 0.7992 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.421, allocations: 55.92 kB / 0.7993 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/1.421, allocations: 72.83 kB / 0.7993 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.422, allocations: 38.88 kB / 0.7994 GB, free: 14.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005955/1.427, allocations: 2.095 MB / 0.8014 GB, free: 12.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007139/1.435, allocations: 0.8166 MB / 0.8022 GB, free: 11.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 114 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007038/1.435, allocations: 138.1 kB / 0.8023 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01193/1.447, allocations: 4.497 MB / 0.8067 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.447, allocations: 0 / 0.8067 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003623/1.451, allocations: 1.337 MB / 0.808 GB, free: 5.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.454, allocations: 312.3 kB / 0.8083 GB, free: 5.188 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/1.482, allocations: 7.705 MB / 0.8159 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01032/1.492, allocations: 3.6 MB / 0.8194 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of SimCode: time 1.974e-06/1.492, allocations: 0 / 0.8194 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of Templates: time 0.3014/1.794, allocations: 70.7 MB / 0.8884 GB, free: 162 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches