Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.11 MB / 344.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 76.75 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2792/0.403, allocations: 45.72 MB / 0.5133 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.4253, allocations: 9.536 MB / 0.5226 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01108/0.4364, allocations: 194.5 kB / 0.5228 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005417/0.4419, allocations: 2.665 MB / 0.5254 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005161/0.4471, allocations: 1.651 MB / 0.527 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.449, allocations: 0.6382 MB / 0.5277 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007864/0.4568, allocations: 5.221 MB / 0.5328 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004981/0.4619, allocations: 3.685 MB / 0.5364 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.4647, allocations: 1.305 MB / 0.5376 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.4678, allocations: 2.127 MB / 0.5397 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008142/0.4686, allocations: 233.6 kB / 0.5399 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.4708, allocations: 1.012 MB / 0.5409 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.4724, allocations: 1.73 MB / 0.5426 GB, free: 452 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.4753, allocations: 2.018 MB / 0.5446 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006009/0.4813, allocations: 5.239 MB / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4814, allocations: 0 / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4814, allocations: 3.938 kB / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001959/0.4816, allocations: 0 / 0.5497 GB, free: 10.39 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01912/0.5007, allocations: 5.073 MB / 0.5547 GB, free: 5.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5008, allocations: 8.031 kB / 0.5547 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00663/0.5074, allocations: 1.858 MB / 0.5565 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.5122, allocations: 2.197 MB / 0.5586 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.5125, allocations: 223.4 kB / 0.5588 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009255/0.5134, allocations: 305.6 kB / 0.5591 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.5329, allocations: 10.04 MB / 0.5689 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.5331, allocations: 47.52 kB / 0.569 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004329/0.5336, allocations: 154.2 kB / 0.5691 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003065/0.5366, allocations: 1.796 MB / 0.5709 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.5554, allocations: 9.029 MB / 0.5797 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04829/0.6037, allocations: 37.21 MB / 0.616 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.6172, allocations: 3.709 MB / 0.6197 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.6196, allocations: 1.705 MB / 0.6213 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/0.6206, allocations: 0.6886 MB / 0.622 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.6206, allocations: 43.12 kB / 0.622 GB, free: 14.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 3.456e-06/0.6207, allocations: 0 / 0.622 GB, free: 14.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04527/0.6659, allocations: 12.89 MB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.6661, allocations: 153 kB / 0.6348 GB, free: 1.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008645/0.6748, allocations: 3.955 MB / 0.6386 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003646/0.6752, allocations: 41.7 kB / 0.6387 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002241/0.6774, allocations: 2.969 MB / 0.6416 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007408/0.6782, allocations: 0.5441 MB / 0.6421 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.6797, allocations: 1.142 MB / 0.6432 GB, free: 8.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6798, allocations: 305.1 kB / 0.6435 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002822/0.6826, allocations: 1.931 MB / 0.6454 GB, free: 6.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/0.6883, allocations: 5.505 MB / 0.6508 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009463/0.6978, allocations: 8.051 MB / 0.6586 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.039e-05/0.6979, allocations: 36 kB / 0.6587 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01587/0.7138, allocations: 7.927 MB / 0.6664 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.714, allocations: 60 kB / 0.6665 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002377/0.7143, allocations: 124 kB / 0.6666 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.7169, allocations: 0.9009 MB / 0.6675 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004393/0.7213, allocations: 1.287 MB / 0.6687 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/0.7282, allocations: 4.853 MB / 0.6735 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/0.7327, allocations: 303.7 kB / 0.6738 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.7338, allocations: 354.8 kB / 0.6741 GB, free: 5.531 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (681): * Single equations (assignments): 677 * 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.004677/0.7385, allocations: 1.975 MB / 0.676 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.7396, allocations: 327.8 kB / 0.6763 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/0.7456, allocations: 2.782 MB / 0.679 GB, free: 432 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-05/0.7457, allocations: 16 kB / 0.6791 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.7457, allocations: 7.938 kB / 0.6791 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.7457, allocations: 7.969 kB / 0.6791 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.7614, allocations: 7.2 MB / 0.6861 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/0.7615, allocations: 8.031 kB / 0.6861 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.7628, allocations: 247.6 kB / 0.6864 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002187/0.765, allocations: 0.7108 MB / 0.687 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.7653, allocations: 35.97 kB / 0.6871 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006087/0.7714, allocations: 4.431 MB / 0.6914 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7714, allocations: 0 / 0.6914 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008405/0.7798, allocations: 5.137 MB / 0.6964 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.7809, allocations: 381 kB / 0.6968 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/0.7816, allocations: 20 kB / 0.6968 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.7833, allocations: 85.86 kB / 0.6969 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/0.7836, allocations: 96.39 kB / 0.697 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.7838, allocations: 43.98 kB / 0.697 GB, free: 13.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004829/0.7886, allocations: 2.485 MB / 0.6995 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7887, allocations: 0 / 0.6995 GB, free: 11.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005064/0.7937, allocations: 0.877 MB / 0.7003 GB, free: 10.43 MB / 0.545 GB 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 (104): * Single equations (assignments): 100 * 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.0005562/0.7943, allocations: 154.1 kB / 0.7005 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007755/0.8021, allocations: 4.589 MB / 0.7049 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.8021, allocations: 0 / 0.7049 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.8042, allocations: 1.365 MB / 0.7063 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.8073, allocations: 401.6 kB / 0.7067 GB, free: 3.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2183/1.026, allocations: 10.62 MB / 0.717 GB, free: 191.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/1.03, allocations: 3.062 MB / 0.72 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.031, allocations: 294.4 kB / 0.7203 GB, free: 190.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.031, allocations: 0 / 0.7203 GB, free: 190.5 MB / 0.545 GB Notification: Performance of Templates: time 0.08626/1.117, allocations: 70.32 MB / 0.789 GB, free: 138.8 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches