Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [: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.001134/0.001134, allocations: 200 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008951/0.0008952, allocations: 95.09 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1681/0.1681, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.962e-06/5.992e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09365, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2896/0.3833, allocations: 110.5 MB / 0.6117 GB, free: 8.684 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.3835, allocations: 77.7 kB / 0.6118 GB, free: 8.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2384/0.622, allocations: 93.17 MB / 0.7028 GB, free: 3.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000301/0.6223, allocations: 96 kB / 0.7029 GB, free: 3.512 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02154/0.6439, allocations: 5.396 MB / 0.7081 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6439, allocations: 8.031 kB / 0.7082 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.6548, allocations: 1.943 MB / 0.7101 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/0.6669, allocations: 4.246 MB / 0.7142 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.6672, allocations: 160 kB / 0.7144 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.6694, allocations: 287.9 kB / 0.7146 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01374/0.6831, allocations: 7.712 MB / 0.7222 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.7052, allocations: 11.27 MB / 0.7332 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002807/0.7055, allocations: 63.39 kB / 0.7332 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001678/0.7072, allocations: 35.91 kB / 0.7333 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/0.7089, allocations: 1.211 MB / 0.7344 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2279/0.9368, allocations: 52.89 MB / 0.7861 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005162/0.9421, allocations: 4.378 MB / 0.7904 GB, free: 156 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00342/0.9455, allocations: 3.264 MB / 0.7936 GB, free: 156 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/0.9614, allocations: 10.15 MB / 0.8035 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.9615, allocations: 66.03 kB / 0.8035 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=197): time 6.071e-06/0.9616, allocations: 0 / 0.8035 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.04841/1.01, allocations: 21.83 MB / 0.8248 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/1.01, allocations: 154.1 kB / 0.825 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006438/1.017, allocations: 3.254 MB / 0.8282 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006011/1.017, allocations: 25.7 kB / 0.8282 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.019, allocations: 3.254 MB / 0.8314 GB, free: 145 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.02, allocations: 0.8343 MB / 0.8322 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008111/1.021, allocations: 0 / 0.8322 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005642/1.022, allocations: 0.5966 MB / 0.8328 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004093/1.026, allocations: 2.796 MB / 0.8355 GB, free: 143 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005574/1.031, allocations: 6.712 MB / 0.8421 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/1.038, allocations: 4.282 MB / 0.8462 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.038, allocations: 38.44 kB / 0.8463 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02113/1.059, allocations: 9.536 MB / 0.8556 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.059, allocations: 5.188 kB / 0.8556 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004072/1.059, allocations: 144.4 kB / 0.8557 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003309/1.063, allocations: 1.061 MB / 0.8568 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/1.069, allocations: 1.628 MB / 0.8584 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006635/1.076, allocations: 5.532 MB / 0.8638 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/1.082, allocations: 224.7 kB / 0.864 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/1.083, allocations: 419.4 kB / 0.8644 GB, free: 125.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (835): * Single equations (assignments): 831 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002291/1.086, allocations: 469.4 kB / 0.8648 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.087, allocations: 347.5 kB / 0.8652 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009028/1.096, allocations: 5.072 MB / 0.8701 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/1.096, allocations: 20 kB / 0.8701 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.096, allocations: 4 kB / 0.8701 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.096, allocations: 18.02 kB / 0.8701 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.116, allocations: 10.27 MB / 0.8802 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.116, allocations: 4 kB / 0.8802 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.119, allocations: 429.2 kB / 0.8806 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/1.121, allocations: 0.8758 MB / 0.8814 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003296/1.121, allocations: 11.66 kB / 0.8815 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005536/1.127, allocations: 5.236 MB / 0.8866 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.127, allocations: 15.84 kB / 0.8866 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0111/1.138, allocations: 9.108 MB / 0.8955 GB, free: 98.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.14, allocations: 0.7912 MB / 0.8962 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009388/1.141, allocations: 12 kB / 0.8963 GB, free: 97.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.143, allocations: 94.55 kB / 0.8963 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/1.143, allocations: 115.1 kB / 0.8965 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/1.144, allocations: 71.22 kB / 0.8965 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003747/1.147, allocations: 2.175 MB / 0.8987 GB, free: 95.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006404/1.154, allocations: 1.034 MB / 0.8997 GB, free: 94.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 196 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006216/1.154, allocations: 159.9 kB / 0.8998 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008861/1.163, allocations: 6.616 MB / 0.9063 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.163, allocations: 1.125 kB / 0.9063 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.167, allocations: 2.505 MB / 0.9087 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.169, allocations: 345.5 kB / 0.9091 GB, free: 86.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/1.191, allocations: 9.587 MB / 0.9184 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006807/1.198, allocations: 4.081 MB / 0.9224 GB, free: 74.49 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/1.198, allocations: 0 / 0.9224 GB, free: 74.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.07377/1.272, allocations: 46.05 MB / 0.9674 GB, free: 30.33 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches