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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001474/0.001474, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3942, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0138/0.4081, allocations: 11.04 MB / 0.5413 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009473/0.4176, allocations: 3.812 MB / 0.545 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.42, allocations: 69.19 kB / 0.5451 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006076/0.4262, allocations: 2.68 MB / 0.5477 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.4315, allocations: 1.794 MB / 0.5495 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.4335, allocations: 0.7018 MB / 0.5501 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005486/0.439, allocations: 3.582 MB / 0.5536 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004978/0.444, allocations: 3.693 MB / 0.5572 GB, free: 6.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.4469, allocations: 1.464 MB / 0.5587 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.4502, allocations: 2.009 MB / 0.5606 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.4514, allocations: 320 kB / 0.5609 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.4539, allocations: 1.042 MB / 0.562 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.4561, allocations: 1.8 MB / 0.5637 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.4594, allocations: 2.093 MB / 0.5658 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.4686, allocations: 6.709 MB / 0.5723 GB, free: 6.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4687, allocations: 4 kB / 0.5723 GB, free: 6.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4687, allocations: 0 / 0.5723 GB, free: 6.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002681/0.4689, allocations: 0 / 0.5723 GB, free: 6.809 MB / 430.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.01997/0.4889, allocations: 5.204 MB / 0.5774 GB, free: 1.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.489, allocations: 8.031 kB / 0.5774 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002406/0.4914, allocations: 0.6742 MB / 0.5781 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/0.499, allocations: 1.89 MB / 0.5799 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.505, allocations: 2.503 MB / 0.5823 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.5053, allocations: 217.8 kB / 0.5826 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.5067, allocations: 307.8 kB / 0.5829 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.5285, allocations: 10.04 MB / 0.5927 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/0.5288, allocations: 39.7 kB / 0.5927 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.53, allocations: 147.8 kB / 0.5928 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003537/0.5336, allocations: 1.798 MB / 0.5946 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.5523, allocations: 9.038 MB / 0.6034 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05072/0.603, allocations: 37.15 MB / 0.6397 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.616, allocations: 3.711 MB / 0.6433 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.6185, allocations: 1.711 MB / 0.645 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.6196, allocations: 0.6785 MB / 0.6457 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.872e-05/0.6197, allocations: 47.06 kB / 0.6457 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 8.907e-06/0.6197, allocations: 3.984 kB / 0.6457 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04442/0.6641, allocations: 13.11 MB / 0.6585 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.6643, allocations: 141.2 kB / 0.6586 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007069/0.6713, allocations: 3.976 MB / 0.6625 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003712/0.6718, allocations: 41.7 kB / 0.6626 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002463/0.6742, allocations: 3.085 MB / 0.6656 GB, free: 5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008482/0.6751, allocations: 0.5778 MB / 0.6661 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002336/0.6775, allocations: 1.143 MB / 0.6672 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.6776, allocations: 309.1 kB / 0.6675 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/0.6807, allocations: 1.916 MB / 0.6694 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00681/0.6875, allocations: 5.493 MB / 0.6748 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.6989, allocations: 8.039 MB / 0.6826 GB, free: 15.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/0.6991, allocations: 36 kB / 0.6827 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01694/0.716, allocations: 7.916 MB / 0.6904 GB, free: 7.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.7164, allocations: 60 kB / 0.6905 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/0.7166, allocations: 128 kB / 0.6906 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.7195, allocations: 0.9065 MB / 0.6915 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004684/0.7242, allocations: 1.275 MB / 0.6927 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00803/0.7323, allocations: 5.198 MB / 0.6978 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/0.7372, allocations: 299.8 kB / 0.6981 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/0.7386, allocations: 359.9 kB / 0.6984 GB, free: 15.62 MB / 0.5606 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 (677): * Single equations (assignments): 673 * 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.004853/0.7435, allocations: 1.97 MB / 0.7003 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.7446, allocations: 345.7 kB / 0.7007 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006493/0.7511, allocations: 2.79 MB / 0.7034 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/0.7513, allocations: 16 kB / 0.7034 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/0.7513, allocations: 4 kB / 0.7034 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/0.7514, allocations: 7.984 kB / 0.7034 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.7681, allocations: 7.175 MB / 0.7104 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.7682, allocations: 3.938 kB / 0.7104 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.7696, allocations: 243.8 kB / 0.7107 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.7719, allocations: 0.7166 MB / 0.7114 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003263/0.7723, allocations: 35.97 kB / 0.7114 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006955/0.7793, allocations: 4.751 MB / 0.716 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7793, allocations: 12.03 kB / 0.716 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/0.7884, allocations: 5.148 MB / 0.7211 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.7896, allocations: 403 kB / 0.7215 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009106/0.7905, allocations: 23.98 kB / 0.7215 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.7925, allocations: 83.83 kB / 0.7216 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/0.793, allocations: 92.39 kB / 0.7216 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/0.7933, allocations: 47.97 kB / 0.7217 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005467/0.7988, allocations: 2.485 MB / 0.7241 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.31e-07/0.7988, allocations: 0 / 0.7241 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00585/0.8047, allocations: 0.8749 MB / 0.725 GB, free: 4.137 MB / 0.5762 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.2873/1.092, allocations: 5.777 MB / 0.7306 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008039/1.1, allocations: 4.595 MB / 0.7351 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.1, allocations: 0 / 0.7351 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.102, allocations: 1.36 MB / 0.7364 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.106, allocations: 433.7 kB / 0.7368 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06634/1.172, allocations: 42.84 MB / 0.7787 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004301/1.176, allocations: 3.057 MB / 0.7817 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003998/1.18, allocations: 1.786 MB / 0.7834 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/1.183, allocations: 1.745 MB / 0.7851 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.345e-06/1.183, allocations: 0 / 0.7851 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/1.286, allocations: 64.08 MB / 0.8477 GB, free: 67.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/24.41, allocations: 3.859 kB / 0.8477 GB, free: 67.36 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/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