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.001651/0.001651, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001782/0.001782, allocations: 203.5 kB / 23.72 MB, free: 4.383 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2538/0.2538, allocations: 46.95 MB / 360.8 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.002315/0.002315, allocations: 79.86 kB / 0.4961 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01304/0.3455, allocations: 9.717 MB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.3533, allocations: 3.649 MB / 0.5737 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.3548, allocations: 71.69 kB / 0.5738 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005369/0.3601, allocations: 2.617 MB / 0.5764 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.3646, allocations: 1.802 MB / 0.5781 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.3662, allocations: 0.694 MB / 0.5788 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.371, allocations: 3.578 MB / 0.5823 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003411/0.3744, allocations: 2.811 MB / 0.585 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.3767, allocations: 1.495 MB / 0.5865 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.3796, allocations: 2.153 MB / 0.5886 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007442/0.3803, allocations: 324 kB / 0.5889 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3824, allocations: 0.9635 MB / 0.5898 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.3847, allocations: 1.842 MB / 0.5916 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.387, allocations: 1.549 MB / 0.5932 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.3962, allocations: 6.735 MB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3962, allocations: 4 kB / 0.5997 GB, free: 11.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3962, allocations: 0 / 0.5997 GB, free: 11.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.3964, allocations: 0 / 0.5997 GB, free: 11.85 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.01774/0.4142, allocations: 5.128 MB / 0.6047 GB, free: 6.672 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.4142, allocations: 8.031 kB / 0.6048 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001371/0.4156, allocations: 0.6742 MB / 0.6054 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006739/0.4223, allocations: 1.89 MB / 0.6073 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005698/0.428, allocations: 2.442 MB / 0.6096 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.4282, allocations: 225.8 kB / 0.6099 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006519/0.4289, allocations: 295.8 kB / 0.6101 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.4466, allocations: 10.08 MB / 0.62 GB, free: 6.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4467, allocations: 39.7 kB / 0.62 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/0.4471, allocations: 143.9 kB / 0.6202 GB, free: 6.168 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003189/0.4503, allocations: 1.805 MB / 0.6219 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.4693, allocations: 9.007 MB / 0.6307 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05079/0.5201, allocations: 35.56 MB / 0.6654 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.5327, allocations: 3.152 MB / 0.6685 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.5351, allocations: 1.603 MB / 0.6701 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007657/0.5358, allocations: 228.3 kB / 0.6703 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.5359, allocations: 55.14 kB / 0.6704 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.178e-06/0.5359, allocations: 3.938 kB / 0.6704 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04249/0.5784, allocations: 13.01 MB / 0.6831 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.5785, allocations: 145.2 kB / 0.6832 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/0.5847, allocations: 4.18 MB / 0.6873 GB, free: 216 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/0.5851, allocations: 45.7 kB / 0.6873 GB, free: 164 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/0.5877, allocations: 3.089 MB / 0.6903 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008085/0.5885, allocations: 0.57 MB / 0.6909 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.5901, allocations: 1.143 MB / 0.692 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5902, allocations: 305.1 kB / 0.6923 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.5932, allocations: 1.924 MB / 0.6942 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/0.5993, allocations: 5.493 MB / 0.6996 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.6096, allocations: 8.04 MB / 0.7074 GB, free: 7.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.409e-05/0.6097, allocations: 40 kB / 0.7074 GB, free: 7.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01551/0.6252, allocations: 7.901 MB / 0.7152 GB, free: 16 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.6253, allocations: 61.02 kB / 0.7152 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.6254, allocations: 128 kB / 0.7153 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/0.628, allocations: 0.8982 MB / 0.7162 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00445/0.6325, allocations: 1.283 MB / 0.7175 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007491/0.64, allocations: 5.04 MB / 0.7224 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003929/0.6439, allocations: 303.8 kB / 0.7227 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006927/0.6446, allocations: 356 kB / 0.723 GB, free: 7.844 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.003398/0.648, allocations: 1.97 MB / 0.7249 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007048/0.6487, allocations: 345.7 kB / 0.7253 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/0.6543, allocations: 2.783 MB / 0.728 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.546e-05/0.6544, allocations: 20 kB / 0.728 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6544, allocations: 4 kB / 0.728 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.6544, allocations: 7.969 kB / 0.728 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2662/0.9206, allocations: 6.868 MB / 0.7347 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.9206, allocations: 3.969 kB / 0.7347 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.9217, allocations: 247.1 kB / 0.735 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.9236, allocations: 0.7086 MB / 0.7357 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.9237, allocations: 34.72 kB / 0.7357 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.9287, allocations: 4.622 MB / 0.7402 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9287, allocations: 3.75 kB / 0.7402 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.9353, allocations: 5.131 MB / 0.7452 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.9364, allocations: 327 kB / 0.7455 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/0.9369, allocations: 20.66 kB / 0.7456 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.9381, allocations: 80.94 kB / 0.7456 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.9384, allocations: 104.4 kB / 0.7457 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.9385, allocations: 48.94 kB / 0.7458 GB, free: 147 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00335/0.9419, allocations: 2.486 MB / 0.7482 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9419, allocations: 0 / 0.7482 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004155/0.946, allocations: 0.8721 MB / 0.7491 GB, free: 145.6 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.006383/0.9524, allocations: 5.771 MB / 0.7547 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.9577, allocations: 4.437 MB / 0.759 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9577, allocations: 4 kB / 0.759 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.9591, allocations: 1.285 MB / 0.7603 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.9613, allocations: 431.6 kB / 0.7607 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05113/1.012, allocations: 42.89 MB / 0.8026 GB, free: 86.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.015, allocations: 2.516 MB / 0.805 GB, free: 84.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003339/1.018, allocations: 1.79 MB / 0.8068 GB, free: 82.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/1.02, allocations: 1.745 MB / 0.8085 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.02, allocations: 0 / 0.8085 GB, free: 80.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1524/1.173, allocations: 67.15 MB / 0.8741 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/17.15, allocations: 3.938 kB / 0.8741 GB, free: 14.03 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.29333408898674]