Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001063/0.001063, allocations: 98.28 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 176.7 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 243 MB, free: 14.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.25 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3009/0.4267, allocations: 48.33 MB / 0.509 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02386/0.4506, allocations: 10.2 MB / 0.519 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01084/0.4615, allocations: 213.4 kB / 0.5192 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002376/0.4639, allocations: 407 kB / 0.5196 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008033/0.472, allocations: 1.69 MB / 0.5212 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.4742, allocations: 0.5205 MB / 0.5217 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009893/0.4841, allocations: 5.253 MB / 0.5269 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009927/0.4941, allocations: 5.162 MB / 0.5319 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.4972, allocations: 1.072 MB / 0.533 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.5007, allocations: 1.843 MB / 0.5348 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007005/0.5015, allocations: 133.1 kB / 0.5349 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.5042, allocations: 0.9375 MB / 0.5358 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.5062, allocations: 1.621 MB / 0.5374 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002293/0.5085, allocations: 1.895 MB / 0.5392 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006621/0.5151, allocations: 5.237 MB / 0.5444 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5152, allocations: 0 / 0.5444 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5152, allocations: 0 / 0.5444 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002517/0.5155, allocations: 0 / 0.5444 GB, free: 13.98 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02314/0.5386, allocations: 4.244 MB / 0.5485 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.702e-05/0.5387, allocations: 11.97 kB / 0.5485 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.5499, allocations: 1.902 MB / 0.5504 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.5562, allocations: 2.251 MB / 0.5526 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.5565, allocations: 224.6 kB / 0.5528 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.558, allocations: 306 kB / 0.5531 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.5799, allocations: 10.25 MB / 0.5631 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/0.5802, allocations: 43.59 kB / 0.5631 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.5813, allocations: 146.4 kB / 0.5633 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/0.5849, allocations: 1.869 MB / 0.5651 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.6049, allocations: 9.204 MB / 0.5741 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04949/0.6545, allocations: 37.61 MB / 0.6108 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.668, allocations: 3.728 MB / 0.6144 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.6705, allocations: 1.721 MB / 0.6161 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.6715, allocations: 0.6755 MB / 0.6168 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.6715, allocations: 47.12 kB / 0.6168 GB, free: 2.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 4.789e-06/0.6716, allocations: 0 / 0.6168 GB, free: 2.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04758/0.7191, allocations: 12.96 MB / 0.6295 GB, free: 5.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.7193, allocations: 149 kB / 0.6296 GB, free: 5.473 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006961/0.7262, allocations: 3.967 MB / 0.6335 GB, free: 1.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.7266, allocations: 49.7 kB / 0.6335 GB, free: 1.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.7291, allocations: 3.014 MB / 0.6365 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008971/0.73, allocations: 0.5496 MB / 0.637 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.7311, allocations: 478.2 kB / 0.6375 GB, free: 13.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.7312, allocations: 309.1 kB / 0.6378 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/0.7345, allocations: 1.939 MB / 0.6397 GB, free: 11.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006053/0.7406, allocations: 5.528 MB / 0.6451 GB, free: 3.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.7507, allocations: 8.109 MB / 0.653 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/0.7509, allocations: 36 kB / 0.653 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01718/0.7681, allocations: 7.955 MB / 0.6608 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.7683, allocations: 56 kB / 0.6608 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002428/0.7686, allocations: 128.9 kB / 0.661 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.7715, allocations: 0.9091 MB / 0.6618 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004419/0.7759, allocations: 1.294 MB / 0.6631 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006807/0.7828, allocations: 4.85 MB / 0.6678 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/0.7876, allocations: 307.7 kB / 0.6681 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.7886, allocations: 356 kB / 0.6685 GB, free: 9.941 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (684): * Single equations (assignments): 680 * 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.004335/0.793, allocations: 2 MB / 0.6704 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008505/0.7939, allocations: 327.7 kB / 0.6707 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.7999, allocations: 2.802 MB / 0.6735 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/0.8, allocations: 16 kB / 0.6735 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.8, allocations: 4 kB / 0.6735 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.8001, allocations: 7.969 kB / 0.6735 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.8167, allocations: 7.27 MB / 0.6806 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.8168, allocations: 0 / 0.6806 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/0.8181, allocations: 267.7 kB / 0.6809 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.8205, allocations: 0.7126 MB / 0.6816 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/0.8207, allocations: 35.97 kB / 0.6816 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.8269, allocations: 4.426 MB / 0.6859 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.8269, allocations: 4.031 kB / 0.6859 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008639/0.8356, allocations: 5.152 MB / 0.691 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.8368, allocations: 396.9 kB / 0.6913 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000807/0.8376, allocations: 24 kB / 0.6914 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.8394, allocations: 79.89 kB / 0.6914 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/0.8398, allocations: 100.4 kB / 0.6915 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/0.84, allocations: 43.98 kB / 0.6916 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005212/0.8452, allocations: 2.489 MB / 0.694 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8452, allocations: 0 / 0.694 GB, free: 15.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005838/0.8511, allocations: 0.9025 MB / 0.6949 GB, free: 14.66 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.0006207/0.8517, allocations: 150.5 kB / 0.695 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008598/0.8603, allocations: 4.622 MB / 0.6995 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.8604, allocations: 4 kB / 0.6995 GB, free: 9.906 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.8626, allocations: 1.365 MB / 0.7009 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/0.8669, allocations: 409.5 kB / 0.7013 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.317/1.184, allocations: 10.87 MB / 0.7119 GB, free: 157.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007266/1.191, allocations: 3.102 MB / 0.7149 GB, free: 156.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/1.193, allocations: 298.8 kB / 0.7152 GB, free: 156.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.974e-06/1.193, allocations: 0 / 0.7152 GB, free: 156.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1101/1.303, allocations: 70.47 MB / 0.784 GB, free: 107.7 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches