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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002025/0.002025, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002383/0.002383, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.739/1.739, allocations: 230.4 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2495/0.2495, allocations: 46.92 MB / 357 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 79.88 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1351, allocations: 66.05 MB / 0.5555 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01427/0.1493, allocations: 11.09 MB / 0.5663 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.1579, allocations: 3.839 MB / 0.5701 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.1596, allocations: 75.69 kB / 0.5701 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005723/0.1654, allocations: 2.714 MB / 0.5728 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.1707, allocations: 1.79 MB / 0.5745 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.1727, allocations: 0.7018 MB / 0.5752 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006214/0.179, allocations: 3.578 MB / 0.5787 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004491/0.1835, allocations: 3.074 MB / 0.5817 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.1862, allocations: 1.495 MB / 0.5832 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.1898, allocations: 2.15 MB / 0.5853 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009874/0.1907, allocations: 320 kB / 0.5856 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.1932, allocations: 1.081 MB / 0.5866 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.1957, allocations: 1.842 MB / 0.5884 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.1987, allocations: 2.097 MB / 0.5905 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2741/0.4729, allocations: 6.703 MB / 0.597 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4729, allocations: 0 / 0.597 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4729, allocations: 0 / 0.597 GB, free: 13.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002658/0.4731, allocations: 0 / 0.597 GB, free: 13.73 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02404/0.4972, allocations: 5.2 MB / 0.6021 GB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4972, allocations: 9.5 kB / 0.6021 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003107/0.5003, allocations: 0.6773 MB / 0.6028 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009045/0.5094, allocations: 1.893 MB / 0.6046 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.5163, allocations: 2.491 MB / 0.6071 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.5167, allocations: 228 kB / 0.6073 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.5187, allocations: 307.5 kB / 0.6076 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/0.5444, allocations: 10.04 MB / 0.6174 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003483/0.5447, allocations: 44.25 kB / 0.6174 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/0.5469, allocations: 147.7 kB / 0.6175 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003721/0.5506, allocations: 1.802 MB / 0.6193 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/0.5707, allocations: 9.04 MB / 0.6281 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05416/0.6249, allocations: 37.14 MB / 0.6644 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.6399, allocations: 3.612 MB / 0.6679 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002838/0.6428, allocations: 1.605 MB / 0.6695 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.6439, allocations: 0.6806 MB / 0.6702 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.644, allocations: 48.59 kB / 0.6702 GB, free: 9.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.449e-06/0.644, allocations: 1.859 kB / 0.6702 GB, free: 9.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.05036/0.6943, allocations: 13.1 MB / 0.683 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.6944, allocations: 148.3 kB / 0.6831 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008489/0.7029, allocations: 3.967 MB / 0.687 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004765/0.7034, allocations: 45.7 kB / 0.6871 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003216/0.7066, allocations: 3.088 MB / 0.6901 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.7077, allocations: 0.5671 MB / 0.6906 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002422/0.7101, allocations: 1.143 MB / 0.6917 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7102, allocations: 309.1 kB / 0.692 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/0.7139, allocations: 1.924 MB / 0.6939 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007854/0.7218, allocations: 5.492 MB / 0.6993 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.7334, allocations: 8.034 MB / 0.7071 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/0.7336, allocations: 43.28 kB / 0.7072 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.0179/0.7515, allocations: 7.906 MB / 0.7149 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/0.7516, allocations: 56 kB / 0.7149 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/0.7518, allocations: 128 kB / 0.7151 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/0.7548, allocations: 0.9035 MB / 0.7159 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004888/0.7596, allocations: 1.28 MB / 0.7172 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008121/0.7678, allocations: 5.184 MB / 0.7223 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004739/0.7725, allocations: 311.3 kB / 0.7226 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009694/0.7735, allocations: 356 kB / 0.7229 GB, free: 0.6016 MB / 0.5294 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.004215/0.7777, allocations: 1.962 MB / 0.7248 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000765/0.7785, allocations: 345.7 kB / 0.7251 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006561/0.785, allocations: 2.786 MB / 0.7279 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/0.7851, allocations: 12 kB / 0.7279 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.7851, allocations: 4 kB / 0.7279 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.7851, allocations: 7.984 kB / 0.7279 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.8016, allocations: 7.173 MB / 0.7349 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.8017, allocations: 0 / 0.7349 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.8031, allocations: 251.7 kB / 0.7351 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/0.8057, allocations: 0.7127 MB / 0.7358 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/0.8059, allocations: 35.97 kB / 0.7359 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007631/0.8136, allocations: 4.759 MB / 0.7405 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8136, allocations: 4.031 kB / 0.7405 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.8237, allocations: 5.15 MB / 0.7455 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.8248, allocations: 398.7 kB / 0.7459 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008739/0.8257, allocations: 20 kB / 0.7459 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.8275, allocations: 79.89 kB / 0.746 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/0.8279, allocations: 95.34 kB / 0.7461 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/0.8281, allocations: 47.59 kB / 0.7462 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005815/0.8339, allocations: 2.481 MB / 0.7486 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8339, allocations: 8 kB / 0.7486 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00601/0.8399, allocations: 0.8749 MB / 0.7494 GB, free: 5.207 MB / 0.5606 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.01123/0.8511, allocations: 5.774 MB / 0.7551 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00912/0.8603, allocations: 4.441 MB / 0.7594 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.8603, allocations: 0 / 0.7594 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.863, allocations: 1.283 MB / 0.7607 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.866, allocations: 435.7 kB / 0.7611 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0813/0.9473, allocations: 42.82 MB / 0.8029 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005774/0.9531, allocations: 3.061 MB / 0.8059 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004906/0.958, allocations: 1.786 MB / 0.8076 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/0.9616, allocations: 1.745 MB / 0.8093 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of SimCode: time 1.312e-06/0.9616, allocations: 0 / 0.8093 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4154/1.377, allocations: 64.52 MB / 0.8723 GB, free: 233.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.71/25.09, allocations: 7.219 kB / 0.8723 GB, free: 233.4 MB / 0.6544 GB " [Timeout remaining time 635] (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.00059976 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.638668853905983]