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.0009031/0.0009031, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008534/0.0008534, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8772/0.8772, allocations: 177 MB / 204.1 MB, free: 5.75 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.2352/0.2352, allocations: 34.23 MB / 294.8 MB, free: 0.6836 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 2.665e-06/2.665e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.749e-05, allocations: 4.812 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1789/0.179, allocations: 9.723 MB / 451.9 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005533/0.1845, allocations: 3.64 MB / 455.5 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.1863, allocations: 76 kB / 455.6 MB, free: 36.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.1891, allocations: 2.747 MB / 458.3 MB, free: 35.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.1925, allocations: 1.864 MB / 460.2 MB, free: 34.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1936, allocations: 0.7477 MB / 461 MB, free: 34.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.1967, allocations: 3.976 MB / 464.9 MB, free: 32.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.1991, allocations: 3.069 MB / 468 MB, free: 31.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.2014, allocations: 2.225 MB / 470.2 MB, free: 30.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.2033, allocations: 2.109 MB / 472.3 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004099/0.2037, allocations: 330.3 kB / 472.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.2049, allocations: 1.002 MB / 473.7 MB, free: 29.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009509/0.2058, allocations: 1.921 MB / 475.6 MB, free: 28.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.2069, allocations: 1.218 MB / 476.8 MB, free: 28.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.2126, allocations: 6.728 MB / 483.5 MB, free: 25.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2126, allocations: 0 / 483.5 MB, free: 25.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2126, allocations: 0 / 483.5 MB, free: 25.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002613/0.2129, allocations: 1.094 kB / 483.5 MB, free: 25.84 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.01568/0.2285, allocations: 5.297 MB / 488.8 MB, free: 23.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2286, allocations: 9.938 kB / 488.8 MB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/0.23, allocations: 0.6845 MB / 489.5 MB, free: 22.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.2351, allocations: 1.933 MB / 491.5 MB, free: 22.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.2396, allocations: 2.269 MB / 493.7 MB, free: 21.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.2397, allocations: 227.4 kB / 493.9 MB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007822/0.2405, allocations: 300 kB / 494.2 MB, free: 21.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.2571, allocations: 10.14 MB / 0.4926 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.2572, allocations: 39.98 kB / 0.4926 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003948/0.2576, allocations: 150.5 kB / 0.4927 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002081/0.2597, allocations: 1.805 MB / 0.4945 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.2728, allocations: 9.094 MB / 0.5034 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.3076, allocations: 35.8 MB / 0.5383 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007608/0.3152, allocations: 3.357 MB / 0.5416 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.3171, allocations: 1.611 MB / 0.5432 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.3176, allocations: 228.2 kB / 0.5434 GB, free: 12.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3176, allocations: 51.16 kB / 0.5435 GB, free: 12.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 3.516e-06/0.3176, allocations: 0 / 0.5435 GB, free: 12.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=136): time 0.02602/0.3436, allocations: 13.56 MB / 0.5567 GB, free: 14.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.3437, allocations: 157.1 kB / 0.5569 GB, free: 14.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004932/0.3486, allocations: 4.36 MB / 0.5611 GB, free: 10.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000301/0.3489, allocations: 41.7 kB / 0.5611 GB, free: 10.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.3507, allocations: 3.058 MB / 0.5641 GB, free: 7.312 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.3512, allocations: 0.5661 MB / 0.5647 GB, free: 6.742 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.3523, allocations: 1.127 MB / 0.5658 GB, free: 5.605 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.3524, allocations: 301.1 kB / 0.5661 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.3544, allocations: 1.924 MB / 0.568 GB, free: 3.379 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/0.3581, allocations: 5.49 MB / 0.5733 GB, free: 12.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006582/0.3647, allocations: 8.037 MB / 0.5812 GB, free: 2.273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-05/0.3647, allocations: 39.94 kB / 0.5812 GB, free: 2.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01018/0.3749, allocations: 7.902 MB / 0.5889 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.375, allocations: 60 kB / 0.589 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3751, allocations: 126.8 kB / 0.5891 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.3766, allocations: 0.906 MB / 0.59 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/0.3791, allocations: 1.287 MB / 0.5912 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/0.3837, allocations: 5.043 MB / 0.5962 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/0.3872, allocations: 339.6 kB / 0.5965 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007767/0.388, allocations: 359.9 kB / 0.5968 GB, free: 2.109 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.003207/0.3912, allocations: 1.967 MB / 0.5988 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/0.392, allocations: 350.2 kB / 0.5991 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.3959, allocations: 2.774 MB / 0.6018 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.3959, allocations: 23.94 kB / 0.6018 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.3959, allocations: 4 kB / 0.6018 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.3959, allocations: 11.91 kB / 0.6018 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.406, allocations: 6.982 MB / 0.6087 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.406, allocations: 0 / 0.6087 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.4067, allocations: 255.7 kB / 0.6089 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.408, allocations: 0.7108 MB / 0.6096 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.4081, allocations: 43.95 kB / 0.6096 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/0.4127, allocations: 4.636 MB / 0.6142 GB, free: 152 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4127, allocations: 0.8125 kB / 0.6142 GB, free: 152 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005882/0.4186, allocations: 5.136 MB / 0.6192 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.4198, allocations: 357.4 kB / 0.6195 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/0.4202, allocations: 24 kB / 0.6195 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008346/0.4211, allocations: 107.8 kB / 0.6196 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.4213, allocations: 96.47 kB / 0.6197 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/0.4214, allocations: 54.09 kB / 0.6198 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004447/0.4259, allocations: 2.621 MB / 0.6223 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.4259, allocations: 4 kB / 0.6223 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003588/0.4295, allocations: 0.9491 MB / 0.6233 GB, free: 6.801 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.005683/0.4351, allocations: 5.784 MB / 0.6289 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.168/0.6031, allocations: 4.436 MB / 0.6333 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.6032, allocations: 0 / 0.6333 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.6047, allocations: 1.286 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.002244/0.6069, allocations: 432.4 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.05165/0.6586, 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.003323/0.6619, allocations: 2.517 MB / 0.6796 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004219/0.6661, allocations: 1.792 MB / 0.6814 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/0.6688, allocations: 1.768 MB / 0.6831 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.6688, allocations: 0 / 0.6831 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06907/0.7379, allocations: 66.15 MB / 0.7477 GB, free: 70.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.474/10.21, allocations: 15.09 kB / 0.7477 GB, free: 70.37 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.369784872978926]