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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.5 kB / 16.4 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 196.8 kB / 17.34 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 69.45 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1082, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0149/0.1231, allocations: 11.81 MB / 0.4989 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008831/0.132, allocations: 3.922 MB / 0.5027 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1339, allocations: 63.88 kB / 0.5028 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.1398, allocations: 2.714 MB / 0.5055 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.1453, allocations: 1.887 MB / 0.5073 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1475, allocations: 0.6862 MB / 0.508 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005702/0.1532, allocations: 3.765 MB / 0.5116 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005234/0.1584, allocations: 3.781 MB / 0.5153 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.1615, allocations: 1.557 MB / 0.5169 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.1651, allocations: 2.126 MB / 0.5189 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.1664, allocations: 348 kB / 0.5193 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.1691, allocations: 1.069 MB / 0.5203 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002568/0.1717, allocations: 1.925 MB / 0.5222 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.1755, allocations: 2.26 MB / 0.5244 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2305/0.406, allocations: 7.239 MB / 0.5315 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4061, allocations: 0.5625 kB / 0.5315 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4061, allocations: 0.75 kB / 0.5315 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002328/0.4063, allocations: 1.062 kB / 0.5315 GB, free: 14.98 MB / 414.1 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.02016/0.4265, allocations: 5.483 MB / 0.5368 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4266, allocations: 13.27 kB / 0.5368 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002257/0.4288, allocations: 0.7248 MB / 0.5375 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008247/0.4371, allocations: 1.928 MB / 0.5394 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007149/0.4443, allocations: 2.826 MB / 0.5422 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.4447, allocations: 246.2 kB / 0.5424 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/0.4468, allocations: 318.3 kB / 0.5427 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/0.473, allocations: 10.74 MB / 0.5532 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/0.4733, allocations: 40.42 kB / 0.5533 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.4747, allocations: 153.2 kB / 0.5534 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003727/0.4785, allocations: 1.983 MB / 0.5553 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4973, allocations: 9.633 MB / 0.5647 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05749/0.5549, allocations: 39.18 MB / 0.603 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/0.5696, allocations: 3.937 MB / 0.6068 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.5728, allocations: 1.876 MB / 0.6087 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.574, allocations: 0.6857 MB / 0.6094 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.5741, allocations: 50.78 kB / 0.6094 GB, free: 9.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 7.093e-06/0.5741, allocations: 0 / 0.6094 GB, free: 9.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04947/0.6236, allocations: 14.2 MB / 0.6233 GB, free: 11.03 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.6238, allocations: 145 kB / 0.6234 GB, free: 10.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007281/0.6311, allocations: 4.096 MB / 0.6274 GB, free: 6.746 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003885/0.6315, allocations: 53.7 kB / 0.6275 GB, free: 6.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002925/0.6344, allocations: 3.25 MB / 0.6306 GB, free: 3.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009756/0.6354, allocations: 0.6448 MB / 0.6313 GB, free: 2.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002528/0.6379, allocations: 1.198 MB / 0.6324 GB, free: 1.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.6381, allocations: 306.8 kB / 0.6327 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003902/0.642, allocations: 2.097 MB / 0.6348 GB, free: 15.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007369/0.6494, allocations: 5.798 MB / 0.6404 GB, free: 7.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/0.6612, allocations: 8.561 MB / 0.6488 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/0.6614, allocations: 40 kB / 0.6488 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01876/0.6802, allocations: 8.407 MB / 0.657 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.6804, allocations: 72.8 kB / 0.6571 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/0.6807, allocations: 132 kB / 0.6572 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/0.6836, allocations: 0.9061 MB / 0.6581 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004956/0.6886, allocations: 1.365 MB / 0.6594 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.6966, allocations: 5.206 MB / 0.6645 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/0.7013, allocations: 319.8 kB / 0.6648 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.7025, allocations: 372 kB / 0.6652 GB, free: 13.06 MB / 0.5137 GB 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.004754/0.7073, allocations: 2.087 MB / 0.6672 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/0.7084, allocations: 369.5 kB / 0.6676 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/0.716, allocations: 3.159 MB / 0.6707 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.166e-05/0.7161, allocations: 20 kB / 0.6707 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.7161, allocations: 4 kB / 0.6707 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/0.7162, allocations: 3.984 kB / 0.6707 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/0.7342, allocations: 7.968 MB / 0.6785 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.7343, allocations: 1.5 kB / 0.6785 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.736, allocations: 303.6 kB / 0.6788 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/0.7385, allocations: 0.7129 MB / 0.6795 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003664/0.7389, allocations: 43.97 kB / 0.6795 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007433/0.7464, allocations: 4.76 MB / 0.6842 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7464, allocations: 3.938 kB / 0.6842 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.7576, allocations: 5.737 MB / 0.6898 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/0.7598, allocations: 0.6468 MB / 0.6904 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/0.7608, allocations: 34.89 kB / 0.6904 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/0.7631, allocations: 87.88 kB / 0.6905 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.7637, allocations: 110.3 kB / 0.6906 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/0.7639, allocations: 51.97 kB / 0.6907 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005561/0.7695, allocations: 2.562 MB / 0.6932 GB, free: 160 kB / 0.5294 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7695, allocations: 0 / 0.6932 GB, free: 160 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006162/0.7757, allocations: 0.9531 MB / 0.6941 GB, free: 15.2 MB / 0.545 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 (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.0119/0.7876, allocations: 6.381 MB / 0.7003 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009256/0.7969, allocations: 5.009 MB / 0.7052 GB, free: 3.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.797, allocations: 0 / 0.7052 GB, free: 3.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/0.7997, allocations: 1.551 MB / 0.7067 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.8031, allocations: 444.8 kB / 0.7072 GB, free: 1.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.284/1.087, allocations: 45.63 MB / 0.7517 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005006/1.092, allocations: 3.238 MB / 0.7549 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004742/1.097, allocations: 1.891 MB / 0.7567 GB, free: 209 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002826/1.1, allocations: 1.879 MB / 0.7586 GB, free: 209 MB / 0.5919 GB Notification: Performance of SimCode: time 1.193e-06/1.1, allocations: 0 / 0.7586 GB, free: 209 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.213, allocations: 67.45 MB / 0.8244 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.22/20.43, allocations: 15.92 kB / 0.8244 GB, free: 161.8 MB / 0.5919 GB (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.0012 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches