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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.97 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1322, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01465/0.1469, allocations: 13.03 MB / 493.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1571, allocations: 4.29 MB / 497.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.1596, allocations: 79.81 kB / 497.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.1702, allocations: 3.707 MB / 0.4895 GB, free: 8 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006881/0.1772, allocations: 1.976 MB / 0.4914 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.1793, allocations: 0.811 MB / 0.4922 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005667/0.185, allocations: 4.217 MB / 0.4963 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006399/0.1914, allocations: 4.844 MB / 0.5011 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.1948, allocations: 1.834 MB / 0.5028 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2156/0.4105, allocations: 2.468 MB / 0.5053 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.4124, allocations: 415.2 kB / 0.5057 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.4164, allocations: 1.13 MB / 0.5068 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004009/0.4204, allocations: 2.181 MB / 0.5089 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007662/0.4281, allocations: 2.6 MB / 0.5114 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.4419, allocations: 7.836 MB / 0.5191 GB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4419, allocations: 1.156 kB / 0.5191 GB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4419, allocations: 0.5 kB / 0.5191 GB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003892/0.4423, allocations: 2.469 kB / 0.5191 GB, free: 14.64 MB / 382.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.02744/0.4698, allocations: 6.22 MB / 0.5252 GB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.4698, allocations: 9.188 kB / 0.5252 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003216/0.4731, allocations: 0.8287 MB / 0.526 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008236/0.4813, allocations: 1.974 MB / 0.5279 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006723/0.4881, allocations: 2.859 MB / 0.5307 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.4884, allocations: 298 kB / 0.531 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.4901, allocations: 398 kB / 0.5314 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.5129, allocations: 12.19 MB / 0.5433 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.5131, allocations: 48.34 kB / 0.5433 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006574/0.5137, allocations: 182.5 kB / 0.5435 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003715/0.5175, allocations: 2.188 MB / 0.5456 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02438/0.5418, allocations: 11.21 MB / 0.5566 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06499/0.6069, allocations: 46.1 MB / 0.6016 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/0.6257, allocations: 5.476 MB / 0.6069 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005291/0.631, allocations: 3.437 MB / 0.6103 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/0.6323, allocations: 0.7043 MB / 0.611 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/0.6324, allocations: 55.86 kB / 0.611 GB, free: 13.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 6.381e-06/0.6324, allocations: 0 / 0.611 GB, free: 13.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.09056/0.723, allocations: 27.29 MB / 0.6377 GB, free: 1.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.7232, allocations: 153.8 kB / 0.6378 GB, free: 1.566 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/0.7344, allocations: 4.406 MB / 0.6421 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009672/0.7354, allocations: 65.7 kB / 0.6422 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003264/0.7387, allocations: 3.389 MB / 0.6455 GB, free: 9.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001657/0.7403, allocations: 0.8781 MB / 0.6464 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003257/0.7436, allocations: 1.407 MB / 0.6477 GB, free: 7.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7437, allocations: 305.1 kB / 0.648 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/0.7489, allocations: 3.269 MB / 0.6512 GB, free: 3.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00888/0.7578, allocations: 7.08 MB / 0.6581 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01877/0.7766, allocations: 11.15 MB / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/0.7769, allocations: 40 kB / 0.6691 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.0251/0.802, allocations: 11.26 MB / 0.6801 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.8022, allocations: 60.19 kB / 0.6801 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/0.8025, allocations: 143.9 kB / 0.6803 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.8057, allocations: 1.117 MB / 0.6813 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007644/0.8133, allocations: 1.684 MB / 0.683 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/0.8227, allocations: 6.342 MB / 0.6892 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006663/0.8294, allocations: 403.5 kB / 0.6896 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/0.8313, allocations: 439.8 kB / 0.69 GB, free: 9.105 MB / 0.5294 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 (812): * Single equations (assignments): 808 * 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.006971/0.8383, allocations: 2.305 MB / 0.6922 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/0.8398, allocations: 394.8 kB / 0.6926 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/0.8514, allocations: 6.191 MB / 0.6987 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.091e-05/0.8515, allocations: 28 kB / 0.6987 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.8516, allocations: 4 kB / 0.6987 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/0.8516, allocations: 15.95 kB / 0.6987 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03365/0.8853, allocations: 13.02 MB / 0.7114 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.8853, allocations: 320 / 0.7114 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003335/0.8887, allocations: 0.546 MB / 0.712 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/0.8916, allocations: 0.9549 MB / 0.7129 GB, free: 1.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007852/0.8924, allocations: 83.89 kB / 0.713 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3262/1.219, allocations: 6.063 MB / 0.7189 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.219, allocations: 6.031 kB / 0.7189 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.239, allocations: 10.47 MB / 0.7291 GB, free: 189 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.242, allocations: 0.8824 MB / 0.73 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/1.244, allocations: 40.41 kB / 0.73 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/1.247, allocations: 172.3 kB / 0.7302 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008374/1.248, allocations: 181.9 kB / 0.7304 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004362/1.248, allocations: 105.9 kB / 0.7305 GB, free: 188.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005435/1.254, allocations: 2.775 MB / 0.7332 GB, free: 187.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/1.254, allocations: 0 / 0.7332 GB, free: 187.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006866/1.261, allocations: 1.181 MB / 0.7343 GB, free: 187.6 MB / 0.545 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.01321/1.274, allocations: 11.14 MB / 0.7452 GB, free: 183.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01583/1.29, allocations: 9.804 MB / 0.7548 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.29, allocations: 0 / 0.7548 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004127/1.294, allocations: 3.025 MB / 0.7577 GB, free: 172.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.297, allocations: 496.2 kB / 0.7582 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08908/1.387, allocations: 66.46 MB / 0.8231 GB, free: 98.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/1.39, allocations: 3.629 MB / 0.8267 GB, free: 94.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00553/1.396, allocations: 2.265 MB / 0.8289 GB, free: 92.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003572/1.4, allocations: 2.327 MB / 0.8311 GB, free: 89.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.031e-06/1.4, allocations: 0 / 0.8311 GB, free: 89.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/1.752, allocations: 95.34 MB / 0.9242 GB, free: 185.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.88, allocations: 2.688 kB / 0.9242 GB, free: 185.7 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.csv","/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