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.000813/0.000813, allocations: 76.36 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008349/0.0008349, allocations: 168.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8886/0.8886, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.2475/0.2475, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 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 1.934e-06/1.934e-06, allocations: 0 / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.799e-05, allocations: 4.391 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1965/0.1965, allocations: 9.718 MB / 451.9 MB, free: 38.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004021/0.2005, allocations: 3.653 MB / 455.5 MB, free: 36.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005765/0.2011, allocations: 73.53 kB / 455.6 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.2033, allocations: 2.741 MB / 458.3 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.2053, allocations: 1.872 MB / 460.2 MB, free: 34.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.206, allocations: 0.7457 MB / 461 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.2081, allocations: 3.978 MB / 464.9 MB, free: 32.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.2099, allocations: 3.067 MB / 468 MB, free: 31.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.2115, allocations: 2.222 MB / 470.2 MB, free: 30.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.2129, allocations: 2.113 MB / 472.3 MB, free: 29.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.2132, allocations: 333.6 kB / 472.7 MB, free: 29.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.2142, allocations: 0.9937 MB / 473.7 MB, free: 29.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000968/0.2152, allocations: 1.927 MB / 475.6 MB, free: 28.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008971/0.2161, allocations: 1.21 MB / 476.8 MB, free: 28.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.2213, allocations: 6.735 MB / 483.5 MB, free: 25.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2213, allocations: 0 / 483.5 MB, free: 25.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.2213, allocations: 0 / 483.5 MB, free: 25.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.2214, allocations: 0 / 483.5 MB, free: 25.88 MB / 410.7 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.01032/0.2317, allocations: 5.294 MB / 488.8 MB, free: 23.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2318, allocations: 10.52 kB / 488.8 MB, free: 23.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000707/0.2325, allocations: 0.6839 MB / 489.5 MB, free: 22.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/0.2371, allocations: 1.929 MB / 491.4 MB, free: 22.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/0.2402, allocations: 2.269 MB / 493.7 MB, free: 21.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2403, allocations: 226.6 kB / 493.9 MB, free: 21.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/0.2407, allocations: 304.5 kB / 494.2 MB, free: 21.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.2529, allocations: 10.15 MB / 0.4926 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.887e-05/0.253, allocations: 36.23 kB / 0.4926 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.2533, allocations: 145.8 kB / 0.4927 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002098/0.2554, allocations: 1.808 MB / 0.4945 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.266, allocations: 9.1 MB / 0.5034 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03183/0.2978, allocations: 35.78 MB / 0.5383 GB, free: 1.926 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006883/0.3047, allocations: 3.363 MB / 0.5416 GB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.306, allocations: 1.602 MB / 0.5432 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.3064, allocations: 228.2 kB / 0.5434 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3064, allocations: 51.16 kB / 0.5434 GB, free: 12.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 2.866e-06/0.3064, allocations: 0 / 0.5434 GB, free: 12.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=136): time 0.02535/0.3318, allocations: 13.57 MB / 0.5567 GB, free: 14.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.3319, allocations: 141.2 kB / 0.5568 GB, free: 14.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004454/0.3363, allocations: 4.368 MB / 0.5611 GB, free: 10.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.3364, allocations: 45.61 kB / 0.5611 GB, free: 10.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.3377, allocations: 3.058 MB / 0.5641 GB, free: 7.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.3381, allocations: 0.5661 MB / 0.5647 GB, free: 6.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009989/0.3391, allocations: 1.127 MB / 0.5658 GB, free: 5.633 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.3392, allocations: 305.1 kB / 0.5661 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.3413, allocations: 1.916 MB / 0.5679 GB, free: 3.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.3451, allocations: 5.49 MB / 0.5733 GB, free: 12.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/0.3509, allocations: 8.043 MB / 0.5812 GB, free: 2.293 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.995e-05/0.3509, allocations: 39.94 kB / 0.5812 GB, free: 2.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.009004/0.36, allocations: 7.901 MB / 0.5889 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.36, allocations: 60.09 kB / 0.589 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.336e-05/0.3601, allocations: 137.9 kB / 0.5891 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.3615, allocations: 0.8982 MB / 0.59 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.364, allocations: 1.29 MB / 0.5912 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.3684, allocations: 5.044 MB / 0.5962 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.3711, allocations: 331.6 kB / 0.5965 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/0.3714, allocations: 367.9 kB / 0.5968 GB, free: 2.129 MB / 0.4948 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.002805/0.3742, allocations: 1.961 MB / 0.5987 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.3746, allocations: 353.7 kB / 0.5991 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.3776, allocations: 2.782 MB / 0.6018 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.3776, allocations: 15.94 kB / 0.6018 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3776, allocations: 4 kB / 0.6018 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3777, allocations: 7.984 kB / 0.6018 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/0.3855, allocations: 6.976 MB / 0.6086 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3855, allocations: 3.938 kB / 0.6086 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.3861, allocations: 255.7 kB / 0.6089 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.3873, allocations: 0.7186 MB / 0.6096 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.3873, allocations: 35.97 kB / 0.6096 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.3914, allocations: 4.643 MB / 0.6142 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3914, allocations: 4 kB / 0.6142 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/0.3965, allocations: 5.121 MB / 0.6192 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.3974, allocations: 361.4 kB / 0.6195 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.3976, allocations: 24 kB / 0.6195 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/0.3984, allocations: 115.8 kB / 0.6196 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.3985, allocations: 100.4 kB / 0.6197 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.3986, allocations: 51.97 kB / 0.6198 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002823/0.4014, allocations: 2.625 MB / 0.6224 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 0 / 0.6224 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003381/0.4048, allocations: 0.9491 MB / 0.6233 GB, free: 6.82 MB / 0.5261 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.005537/0.4104, allocations: 5.772 MB / 0.6289 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1691/0.5794, allocations: 4.443 MB / 0.6333 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5794, allocations: 2 kB / 0.6333 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.5806, allocations: 1.279 MB / 0.6345 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5824, allocations: 422.8 kB / 0.6349 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/0.6192, allocations: 43.27 MB / 0.6772 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002466/0.6216, allocations: 2.519 MB / 0.6796 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003241/0.6249, allocations: 1.798 MB / 0.6814 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.6264, allocations: 1.764 MB / 0.6831 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.352e-06/0.6264, allocations: 0 / 0.6831 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.6954, allocations: 66.14 MB / 0.7477 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.592/10.29, allocations: 12.05 kB / 0.7477 GB, free: 70.38 MB / 0.5261 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/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: 12.473631083033979]