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/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001655, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3102, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01348/0.3237, allocations: 13.04 MB / 0.5444 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.3343, allocations: 4.283 MB / 0.5486 GB, free: 8 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.3374, allocations: 77.95 kB / 0.5486 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008558/0.3461, allocations: 3.713 MB / 0.5523 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.352, allocations: 1.968 MB / 0.5542 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.3542, allocations: 0.8149 MB / 0.555 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00638/0.3606, allocations: 4.226 MB / 0.5591 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005315/0.366, allocations: 4.83 MB / 0.5638 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.3691, allocations: 1.846 MB / 0.5656 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.3726, allocations: 2.473 MB / 0.5681 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009535/0.3736, allocations: 416 kB / 0.5685 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3759, allocations: 1.131 MB / 0.5696 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.378, allocations: 2.201 MB / 0.5717 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002957/0.381, allocations: 2.598 MB / 0.5742 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009286/0.3903, allocations: 8.082 MB / 0.5821 GB, free: 13.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3904, allocations: 0 / 0.5821 GB, free: 13.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3904, allocations: 0 / 0.5821 GB, free: 13.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002669/0.3907, allocations: 0 / 0.5821 GB, free: 13.87 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.0217/0.4124, allocations: 6.204 MB / 0.5882 GB, free: 7.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4124, allocations: 8.031 kB / 0.5882 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007305/0.4197, allocations: 1.963 MB / 0.5901 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006348/0.4261, allocations: 2.69 MB / 0.5927 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4264, allocations: 291.5 kB / 0.593 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.4277, allocations: 387.8 kB / 0.5934 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/0.4518, allocations: 12.21 MB / 0.6053 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.452, allocations: 51.48 kB / 0.6054 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005974/0.4526, allocations: 179.9 kB / 0.6055 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00413/0.4567, allocations: 2.194 MB / 0.6077 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.4808, allocations: 11.21 MB / 0.6186 GB, free: 7.633 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06326/0.5441, allocations: 45.87 MB / 0.6634 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/0.5641, allocations: 5.48 MB / 0.6688 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004545/0.5687, allocations: 3.434 MB / 0.6721 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.5699, allocations: 0.6987 MB / 0.6728 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/0.5699, allocations: 55.92 kB / 0.6729 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 4.869e-06/0.57, allocations: 3.938 kB / 0.6729 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07541/0.6454, allocations: 27.31 MB / 0.6995 GB, free: 3.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.6455, allocations: 154.5 kB / 0.6997 GB, free: 3.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006585/0.6521, allocations: 4.399 MB / 0.704 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006817/0.6528, allocations: 53.7 kB / 0.704 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/0.6554, allocations: 3.392 MB / 0.7073 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.6568, allocations: 0.883 MB / 0.7082 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002226/0.659, allocations: 1.411 MB / 0.7096 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6591, allocations: 309 kB / 0.7099 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/0.6639, allocations: 3.284 MB / 0.7131 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2866/0.9505, allocations: 7.075 MB / 0.72 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/0.9646, allocations: 11.16 MB / 0.7309 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003109/0.965, allocations: 38.47 kB / 0.7309 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02018/0.9852, allocations: 11.29 MB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.9853, allocations: 62.19 kB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001621/0.9855, allocations: 133.9 kB / 0.7421 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.9882, allocations: 1.117 MB / 0.7432 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00639/0.9946, allocations: 1.695 MB / 0.7449 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/1.001, allocations: 6.34 MB / 0.7511 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/1.008, allocations: 399.4 kB / 0.7515 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/1.009, allocations: 443.7 kB / 0.7519 GB, free: 141.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.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 (816): * Single equations (assignments): 812 * 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.004717/1.014, allocations: 2.311 MB / 0.7541 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.015, allocations: 393.9 kB / 0.7545 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008949/1.024, allocations: 6.19 MB / 0.7606 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-05/1.024, allocations: 28 kB / 0.7606 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.024, allocations: 4 kB / 0.7606 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/1.024, allocations: 11.95 kB / 0.7606 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/1.044, allocations: 12.89 MB / 0.7732 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.044, allocations: 4 kB / 0.7732 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/1.047, allocations: 0.5453 MB / 0.7737 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.049, allocations: 0.9482 MB / 0.7747 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000437/1.05, allocations: 87.89 kB / 0.7747 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006165/1.056, allocations: 6.092 MB / 0.7807 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.056, allocations: 15.94 kB / 0.7807 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.069, allocations: 10.47 MB / 0.7909 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/1.071, allocations: 0.8903 MB / 0.7918 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000898/1.072, allocations: 40 kB / 0.7918 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.074, allocations: 167.7 kB / 0.792 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004833/1.075, allocations: 181.6 kB / 0.7922 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/1.075, allocations: 103.9 kB / 0.7923 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003637/1.079, allocations: 2.766 MB / 0.795 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.079, allocations: 4 kB / 0.795 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005652/1.085, allocations: 1.186 MB / 0.7961 GB, free: 96.47 MB / 0.5606 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0006091/1.085, allocations: 187.7 kB / 0.7963 GB, free: 96.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.096, allocations: 7.732 MB / 0.8039 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.096, allocations: 0 / 0.8039 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/1.1, allocations: 3.031 MB / 0.8068 GB, free: 85.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/1.103, allocations: 0.49 MB / 0.8073 GB, free: 85.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.121, allocations: 12.34 MB / 0.8194 GB, free: 72.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/1.125, allocations: 3.616 MB / 0.8229 GB, free: 69.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/1.126, allocations: 470.3 kB / 0.8233 GB, free: 68.56 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/1.127, allocations: 0 / 0.8233 GB, free: 68.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.1145/1.241, allocations: 94.39 MB / 0.9155 GB, free: 6.207 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches