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.001617/0.001617, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001981/0.001981, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.27/2.27, allocations: 227.4 MB / 247.1 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.3842/0.3842, allocations: 46.1 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 84.52 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1819, allocations: 62.44 MB / 480.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.427/0.6089, allocations: 45.73 MB / 0.5136 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02992/0.6389, allocations: 9.442 MB / 0.5228 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01366/0.6527, allocations: 196.4 kB / 0.523 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008209/0.661, allocations: 2.575 MB / 0.5255 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.6681, allocations: 1.646 MB / 0.5271 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.671, allocations: 0.6493 MB / 0.5277 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007882/0.6789, allocations: 3.607 MB / 0.5312 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007443/0.6864, allocations: 3.913 MB / 0.5351 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.6909, allocations: 1.486 MB / 0.5365 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004496/0.6954, allocations: 2.215 MB / 0.5387 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.6969, allocations: 322.5 kB / 0.539 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.7003, allocations: 1.058 MB / 0.54 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002953/0.7033, allocations: 1.814 MB / 0.5418 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004374/0.7077, allocations: 2.122 MB / 0.5439 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009682/0.7175, allocations: 5.294 MB / 0.549 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.7175, allocations: 3.984 kB / 0.549 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7176, allocations: 0 / 0.549 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002739/0.7178, allocations: 0 / 0.549 GB, free: 11.37 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.02986/0.7477, allocations: 5.066 MB / 0.554 GB, free: 6.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.758e-05/0.7478, allocations: 12.03 kB / 0.554 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.7597, allocations: 1.848 MB / 0.5558 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008052/0.7678, allocations: 2.207 MB / 0.558 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.7683, allocations: 224.3 kB / 0.5582 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002073/0.7704, allocations: 301.7 kB / 0.5585 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03274/0.8032, allocations: 10.05 MB / 0.5683 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.8035, allocations: 35.66 kB / 0.5683 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001622/0.8051, allocations: 143.8 kB / 0.5684 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005211/0.8104, allocations: 1.811 MB / 0.5702 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/0.8407, allocations: 9.03 MB / 0.579 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07624/0.917, allocations: 37.19 MB / 0.6153 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/0.9384, allocations: 3.726 MB / 0.619 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004019/0.9425, allocations: 1.71 MB / 0.6207 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.944, allocations: 0.6785 MB / 0.6213 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.83e-05/0.9441, allocations: 55.05 kB / 0.6214 GB, free: 15.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 5.931e-06/0.9441, allocations: 0 / 0.6214 GB, free: 15.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.06152/1.006, allocations: 12.88 MB / 0.634 GB, free: 2.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/1.006, allocations: 145.2 kB / 0.6341 GB, free: 2.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009351/1.015, allocations: 3.959 MB / 0.638 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004699/1.016, allocations: 41.7 kB / 0.638 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003099/1.019, allocations: 2.963 MB / 0.6409 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.02, allocations: 0.5497 MB / 0.6414 GB, free: 11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003407/1.023, allocations: 1.136 MB / 0.6425 GB, free: 9.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/1.023, allocations: 305.1 kB / 0.6428 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004391/1.028, allocations: 1.931 MB / 0.6447 GB, free: 7.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007911/1.036, allocations: 5.501 MB / 0.6501 GB, free: 324 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.05, allocations: 8.059 MB / 0.658 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001445/1.05, allocations: 36 kB / 0.658 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.02535/1.075, allocations: 7.919 MB / 0.6657 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/1.076, allocations: 60.19 kB / 0.6658 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002989/1.076, allocations: 132 kB / 0.6659 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/1.08, allocations: 0.9022 MB / 0.6668 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00697/1.087, allocations: 1.283 MB / 0.668 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.097, allocations: 5.199 MB / 0.6731 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007291/1.105, allocations: 295.6 kB / 0.6734 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.106, allocations: 356 kB / 0.6737 GB, free: 6.168 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.006852/1.113, allocations: 1.963 MB / 0.6757 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/1.115, allocations: 339.7 kB / 0.676 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008952/1.124, allocations: 2.786 MB / 0.6787 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.349e-05/1.124, allocations: 18.11 kB / 0.6787 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/1.124, allocations: 4 kB / 0.6787 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.124, allocations: 3.984 kB / 0.6787 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/1.146, allocations: 7.204 MB / 0.6858 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.146, allocations: 0 / 0.6858 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.148, allocations: 243.8 kB / 0.686 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003438/1.151, allocations: 0.7216 MB / 0.6867 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/1.152, allocations: 31.97 kB / 0.6867 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.162, allocations: 4.753 MB / 0.6914 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.162, allocations: 0 / 0.6914 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.176, allocations: 5.145 MB / 0.6964 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.178, allocations: 376.8 kB / 0.6968 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.179, allocations: 24 kB / 0.6968 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.182, allocations: 83.83 kB / 0.6969 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/1.182, allocations: 88.52 kB / 0.6969 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/1.183, allocations: 43.98 kB / 0.697 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007596/1.19, allocations: 2.485 MB / 0.6994 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.51e-07/1.19, allocations: 4 kB / 0.6994 GB, free: 11.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008665/1.199, allocations: 0.875 MB / 0.7003 GB, free: 10.74 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.000738/1.2, allocations: 156.3 kB / 0.7004 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.214, allocations: 5.061 MB / 0.7054 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.214, allocations: 0 / 0.7054 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.217, allocations: 1.372 MB / 0.7067 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/1.224, allocations: 418.4 kB / 0.7071 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3491/1.573, allocations: 10.63 MB / 0.7175 GB, free: 192.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007257/1.58, allocations: 3.059 MB / 0.7205 GB, free: 191.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.582, allocations: 295.5 kB / 0.7207 GB, free: 191.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/1.582, allocations: 0 / 0.7207 GB, free: 191.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1343/1.716, allocations: 70.32 MB / 0.7894 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