Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 75.7 kB / 20.01 MB, free: 4.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 169.9 kB / 23.31 MB, free: 1.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8791/0.8791, allocations: 158.6 MB / 185.1 MB, free: 3 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1332/0.1332, allocations: 32.36 MB / 269.7 MB, free: 14.93 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 407.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.156e-05, allocations: 2.281 kB / 407.1 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008152/0.008163, allocations: 10.37 MB / 417.4 MB, free: 7.699 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006658/0.01482, allocations: 3.746 MB / 421.2 MB, free: 3.941 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.01609, allocations: 75.69 kB / 421.3 MB, free: 3.867 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.01868, allocations: 2.776 MB / 424 MB, free: 1.082 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.02154, allocations: 2.006 MB / 426 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.02246, allocations: 0.7444 MB / 426.8 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.02591, allocations: 4.123 MB / 430.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.02853, allocations: 3.182 MB / 434.1 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.03105, allocations: 2.362 MB / 436.5 MB, free: 4.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.03292, allocations: 2.252 MB / 438.7 MB, free: 2.312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.03325, allocations: 352 kB / 439 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.03432, allocations: 1.034 MB / 440.1 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.03536, allocations: 2.073 MB / 442.2 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.03652, allocations: 1.312 MB / 443.5 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.04098, allocations: 7.281 MB / 450.7 MB, free: 6.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.04099, allocations: 0 / 450.7 MB, free: 6.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.04099, allocations: 7.938 kB / 450.8 MB, free: 6.227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.375e-05/0.04105, allocations: 0 / 450.8 MB, free: 6.227 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008254/0.04931, allocations: 5.566 MB / 456.3 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.04934, allocations: 8.031 kB / 456.3 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008661/0.05021, allocations: 0.7318 MB / 457.1 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.0536, allocations: 1.967 MB / 459 MB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.05613, allocations: 2.521 MB / 461.5 MB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.05624, allocations: 242 kB / 461.8 MB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.05662, allocations: 319.8 kB / 462.1 MB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2108/0.2675, allocations: 10.83 MB / 472.9 MB, free: 91.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/0.2677, allocations: 44.25 kB / 473 MB, free: 91.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007874/0.2685, allocations: 153.6 kB / 473.1 MB, free: 91.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.2707, allocations: 1.982 MB / 475.1 MB, free: 91.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.2848, allocations: 9.68 MB / 484.8 MB, free: 89.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.3209, allocations: 37.72 MB / 0.5103 GB, free: 63.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008772/0.3296, allocations: 3.557 MB / 0.5137 GB, free: 62.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.3319, allocations: 1.75 MB / 0.5154 GB, free: 62.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.3326, allocations: 233.5 kB / 0.5157 GB, free: 62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3326, allocations: 53.58 kB / 0.5157 GB, free: 61.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 7.123e-06/0.3326, allocations: 4.609 kB / 0.5157 GB, free: 61.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.02751/0.3601, allocations: 14.71 MB / 0.5301 GB, free: 52.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3602, allocations: 149.5 kB / 0.5302 GB, free: 52.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/0.3647, allocations: 4.54 MB / 0.5347 GB, free: 48.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.365, allocations: 45.7 kB / 0.5347 GB, free: 48.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.366, allocations: 3.217 MB / 0.5378 GB, free: 44.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006511/0.3667, allocations: 0.6458 MB / 0.5385 GB, free: 44.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.3677, allocations: 1.189 MB / 0.5396 GB, free: 43.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.3678, allocations: 301.1 kB / 0.5399 GB, free: 42.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.3696, allocations: 2.092 MB / 0.542 GB, free: 40.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.3723, allocations: 5.792 MB / 0.5476 GB, free: 33.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005429/0.3777, allocations: 8.555 MB / 0.556 GB, free: 22.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.512e-05/0.3778, allocations: 40 kB / 0.556 GB, free: 22.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.009543/0.3873, allocations: 8.404 MB / 0.5642 GB, free: 14.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.3874, allocations: 64.12 kB / 0.5643 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.3875, allocations: 137 kB / 0.5644 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.3888, allocations: 0.9072 MB / 0.5653 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/0.3914, allocations: 1.38 MB / 0.5666 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/0.3953, allocations: 5.039 MB / 0.5716 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/0.399, allocations: 359.7 kB / 0.5719 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005502/0.3995, allocations: 376 kB / 0.5723 GB, free: 5.887 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (718): * Single equations (assignments): 714 * 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.002422/0.402, allocations: 2.091 MB / 0.5743 GB, free: 3.785 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/0.4025, allocations: 365.5 kB / 0.5747 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.4057, allocations: 3.162 MB / 0.5778 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.4057, allocations: 16 kB / 0.5778 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4057, allocations: 4 kB / 0.5778 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4057, allocations: 11.97 kB / 0.5778 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.4165, allocations: 7.691 MB / 0.5853 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.4165, allocations: 4 kB / 0.5853 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/0.4174, allocations: 307.5 kB / 0.5856 GB, free: 8.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4187, allocations: 0.7187 MB / 0.5863 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.4188, allocations: 43.97 kB / 0.5863 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/0.4229, allocations: 4.659 MB / 0.5909 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4229, allocations: 6.5 kB / 0.5909 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006577/0.4295, allocations: 5.722 MB / 0.5965 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/0.4313, allocations: 0.6066 MB / 0.5971 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/0.4318, allocations: 31.98 kB / 0.5971 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4328, allocations: 131.8 kB / 0.5972 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.433, allocations: 108.7 kB / 0.5973 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/0.4331, allocations: 59.97 kB / 0.5974 GB, free: 11.95 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004714/0.4379, allocations: 2.734 MB / 0.6001 GB, free: 9.207 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4379, allocations: 0 / 0.6001 GB, free: 9.207 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004725/0.4426, allocations: 1.035 MB / 0.6011 GB, free: 8.176 MB / 474.7 MB 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 (126): * Single equations (assignments): 122 * 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.006709/0.4493, allocations: 6.384 MB / 0.6073 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006669/0.456, allocations: 4.828 MB / 0.612 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.456, allocations: 0 / 0.612 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.4576, allocations: 1.449 MB / 0.6134 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.46, allocations: 439.4 kB / 0.6138 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2489/0.7089, allocations: 46.22 MB / 0.659 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.7117, allocations: 2.699 MB / 0.6616 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003263/0.715, allocations: 1.902 MB / 0.6635 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/0.7168, allocations: 1.901 MB / 0.6653 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/0.7168, allocations: 0 / 0.6653 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08383/0.8006, allocations: 69.85 MB / 0.7336 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.59, allocations: 11.89 kB / 0.7336 GB, free: 110.6 MB / 0.5105 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.84812027681619]