Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_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_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001687, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002598/0.002598, allocations: 204.5 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3655/0.3655, allocations: 43.5 MB / 313.5 MB, free: 8.215 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 63.91 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1565, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3351/0.4917, allocations: 50.26 MB / 490.1 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/0.5201, allocations: 10.34 MB / 0.4887 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01654/0.5367, allocations: 210.5 kB / 0.4889 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00581/0.5426, allocations: 2.693 MB / 0.4915 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.549, allocations: 1.773 MB / 0.4933 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.5511, allocations: 0.6405 MB / 0.4939 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009098/0.5602, allocations: 5.507 MB / 0.4993 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006001/0.5663, allocations: 3.772 MB / 0.5029 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.5696, allocations: 1.37 MB / 0.5043 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.5741, allocations: 2.271 MB / 0.5065 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.5756, allocations: 248.5 kB / 0.5067 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.5787, allocations: 1.025 MB / 0.5077 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002831/0.5815, allocations: 1.854 MB / 0.5095 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004207/0.5857, allocations: 2.172 MB / 0.5117 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.5963, allocations: 6.869 MB / 0.5184 GB, free: 15.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.5964, allocations: 6.75 kB / 0.5184 GB, free: 15.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5964, allocations: 0 / 0.5184 GB, free: 15.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005182/0.597, allocations: 0 / 0.5184 GB, free: 15.57 MB / 398.1 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.02885/0.6258, allocations: 5.335 MB / 0.5236 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.6259, allocations: 8.031 kB / 0.5236 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/0.6334, allocations: 1.886 MB / 0.5254 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/0.6396, allocations: 2.369 MB / 0.5278 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/0.6399, allocations: 242.1 kB / 0.528 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.6414, allocations: 319.8 kB / 0.5283 GB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/0.6668, allocations: 10.73 MB / 0.5388 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.6672, allocations: 43.59 kB / 0.5388 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/0.6689, allocations: 151.8 kB / 0.5389 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003981/0.6729, allocations: 1.986 MB / 0.5409 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/0.6972, allocations: 9.622 MB / 0.5503 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06104/0.7583, allocations: 39.27 MB / 0.5886 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.7728, allocations: 3.944 MB / 0.5925 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.7759, allocations: 1.871 MB / 0.5943 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.777, allocations: 0.6828 MB / 0.595 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.136e-05/0.7772, allocations: 55.55 kB / 0.595 GB, free: 164 kB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 1.197e-05/0.7772, allocations: 0 / 0.595 GB, free: 164 kB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05083/0.828, allocations: 13.92 MB / 0.6086 GB, free: 2.125 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.8282, allocations: 153.4 kB / 0.6088 GB, free: 1.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008541/0.8367, allocations: 4.074 MB / 0.6127 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005618/0.8373, allocations: 49.61 kB / 0.6128 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002585/0.8399, allocations: 3.118 MB / 0.6158 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.841, allocations: 0.6289 MB / 0.6165 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/0.8429, allocations: 1.19 MB / 0.6176 GB, free: 8.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.843, allocations: 301.1 kB / 0.6179 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/0.8461, allocations: 2.116 MB / 0.62 GB, free: 6.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2808/1.127, allocations: 5.797 MB / 0.6256 GB, free: 136.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009012/1.136, allocations: 8.574 MB / 0.634 GB, free: 131.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/1.136, allocations: 37.75 kB / 0.634 GB, free: 131.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01535/1.151, allocations: 8.423 MB / 0.6423 GB, free: 128.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-05/1.152, allocations: 60.97 kB / 0.6423 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/1.152, allocations: 133.8 kB / 0.6425 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/1.154, allocations: 0.9042 MB / 0.6433 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/1.158, allocations: 1.381 MB / 0.6447 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/1.164, allocations: 4.847 MB / 0.6494 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005102/1.169, allocations: 319.2 kB / 0.6497 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.17, allocations: 380.6 kB / 0.6501 GB, free: 125.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005333/1.175, allocations: 2.095 MB / 0.6521 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009861/1.176, allocations: 343 kB / 0.6525 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/1.183, allocations: 3.169 MB / 0.6556 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.452e-05/1.183, allocations: 21.81 kB / 0.6556 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.183, allocations: 7 kB / 0.6556 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/1.183, allocations: 9.078 kB / 0.6556 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/1.2, allocations: 7.95 MB / 0.6634 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.2, allocations: 2.312 kB / 0.6634 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.202, allocations: 302.9 kB / 0.6636 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/1.204, allocations: 0.7195 MB / 0.6643 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002736/1.204, allocations: 37.78 kB / 0.6644 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006641/1.211, allocations: 4.436 MB / 0.6687 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.211, allocations: 2.188 kB / 0.6687 GB, free: 118.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.223, allocations: 5.722 MB / 0.6743 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002924/1.226, allocations: 0.6172 MB / 0.6749 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.227, allocations: 29.95 kB / 0.6749 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.229, allocations: 91.47 kB / 0.675 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/1.23, allocations: 103.9 kB / 0.6751 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.23, allocations: 53.83 kB / 0.6752 GB, free: 115.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007809/1.238, allocations: 2.553 MB / 0.6777 GB, free: 114.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.304e-06/1.238, allocations: 0 / 0.6777 GB, free: 114.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007776/1.246, allocations: 0.9669 MB / 0.6786 GB, free: 114.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008127/1.246, allocations: 157.2 kB / 0.6788 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00889/1.255, allocations: 5.014 MB / 0.6837 GB, free: 113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.255, allocations: 4 kB / 0.6837 GB, free: 113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.258, allocations: 1.56 MB / 0.6852 GB, free: 112.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00487/1.263, allocations: 412.3 kB / 0.6856 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.28, allocations: 11.04 MB / 0.6964 GB, free: 102.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/1.283, allocations: 3.245 MB / 0.6995 GB, free: 100.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004784/1.288, allocations: 1.892 MB / 0.7014 GB, free: 99.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/1.288, allocations: 262.1 kB / 0.7016 GB, free: 98.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/1.288, allocations: 4 kB / 0.7016 GB, free: 98.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05986/1.348, allocations: 35.91 MB / 0.7367 GB, free: 63.79 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches