Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.001399/0.001399, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.00161/0.00161, allocations: 175.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3943, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01737/0.4117, allocations: 15.96 MB / 0.534 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.4233, allocations: 3.82 MB / 0.5377 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005237/0.4286, allocations: 89.38 kB / 0.5378 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009191/0.4378, allocations: 3.102 MB / 0.5408 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.4482, allocations: 1.829 MB / 0.5426 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.4505, allocations: 459.7 kB / 0.5431 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008962/0.4595, allocations: 4.044 MB / 0.547 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006567/0.4661, allocations: 3.601 MB / 0.5505 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.4705, allocations: 1.916 MB / 0.5524 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00544/0.476, allocations: 2.995 MB / 0.5553 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002008/0.478, allocations: 500 kB / 0.5558 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.4813, allocations: 0.9288 MB / 0.5567 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003684/0.485, allocations: 2.256 MB / 0.5589 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006133/0.4912, allocations: 2.801 MB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.5052, allocations: 8.747 MB / 0.5702 GB, free: 6.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5053, allocations: 0 / 0.5702 GB, free: 6.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5053, allocations: 0 / 0.5702 GB, free: 6.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000398/0.5057, allocations: 0 / 0.5702 GB, free: 6.875 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.09219/0.5979, allocations: 11.25 MB / 0.5812 GB, free: 11.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.598, allocations: 12.03 kB / 0.5812 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00446/0.6024, allocations: 0.8103 MB / 0.582 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/0.6111, allocations: 1.892 MB / 0.5838 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008736/0.6199, allocations: 3.342 MB / 0.5871 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.6202, allocations: 291.6 kB / 0.5874 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.623, allocations: 407.7 kB / 0.5878 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06062/0.6837, allocations: 19.55 MB / 0.6069 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/0.6841, allocations: 51.53 kB / 0.6069 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003327/0.6874, allocations: 183.8 kB / 0.6071 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00653/0.694, allocations: 2.345 MB / 0.6094 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05756/0.7516, allocations: 22.38 MB / 0.6312 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08503/0.8366, allocations: 52.46 MB / 0.6825 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07104/0.9077, allocations: 9.157 MB / 0.6914 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/0.9125, allocations: 3.025 MB / 0.6944 GB, free: 5.316 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/0.9145, allocations: 356.7 kB / 0.6947 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.342e-05/0.9146, allocations: 59.81 kB / 0.6947 GB, free: 4.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=212): time 5.059e-06/0.9146, allocations: 0 / 0.6947 GB, free: 4.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=212): time 0.1402/1.055, allocations: 16.12 MB / 0.7105 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.055, allocations: 153.8 kB / 0.7106 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2534/1.308, allocations: 4.698 MB / 0.7152 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00054/1.309, allocations: 54.36 kB / 0.7153 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003311/1.312, allocations: 3.638 MB / 0.7188 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.314, allocations: 0.8728 MB / 0.7197 GB, free: 166 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003976/1.318, allocations: 1.548 MB / 0.7212 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/1.318, allocations: 306.8 kB / 0.7215 GB, free: 165 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00578/1.324, allocations: 3.174 MB / 0.7246 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008213/1.332, allocations: 7.459 MB / 0.7319 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/1.344, allocations: 11.49 MB / 0.7431 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002741/1.344, allocations: 43 kB / 0.7431 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01737/1.361, allocations: 10.62 MB / 0.7535 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/1.361, allocations: 68.62 kB / 0.7536 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/1.362, allocations: 153.4 kB / 0.7537 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/1.362, allocations: 201.6 kB / 0.7539 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006396/1.368, allocations: 1.804 MB / 0.7557 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002751/1.369, allocations: 301.8 kB / 0.756 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006844/1.376, allocations: 0.9583 MB / 0.7569 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.377, allocations: 0.5076 MB / 0.7574 GB, free: 144 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004381/1.382, allocations: 2.314 MB / 0.7597 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.383, allocations: 425.1 kB / 0.7601 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006636/1.389, allocations: 4.863 MB / 0.7648 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/1.389, allocations: 25.97 kB / 0.7648 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.389, allocations: 0 / 0.7648 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.389, allocations: 13.98 kB / 0.7648 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.407, allocations: 11.53 MB / 0.7761 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.407, allocations: 8 kB / 0.7761 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/1.41, allocations: 0.5967 MB / 0.7767 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-05/1.41, allocations: 15.06 kB / 0.7767 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004052/1.411, allocations: 147.8 kB / 0.7769 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.052e-05/1.411, allocations: 23.92 kB / 0.7769 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.411, allocations: 11.94 kB / 0.7769 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008924/1.42, allocations: 8.924 MB / 0.7856 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.421, allocations: 0.5256 MB / 0.7861 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.422, allocations: 51.98 kB / 0.7862 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.425, allocations: 87.2 kB / 0.7862 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/1.426, allocations: 236.7 kB / 0.7865 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/1.426, allocations: 163.8 kB / 0.7866 GB, free: 115 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004951/1.431, allocations: 2.962 MB / 0.7895 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.431, allocations: 0 / 0.7895 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007264/1.438, allocations: 1.384 MB / 0.7909 GB, free: 110.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009472/1.448, allocations: 9.601 MB / 0.8003 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009212/1.457, allocations: 7.126 MB / 0.8072 GB, free: 93.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.457, allocations: 4.062 kB / 0.8072 GB, free: 93.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002695/1.46, allocations: 2.437 MB / 0.8096 GB, free: 91.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.464, allocations: 0.5674 MB / 0.8101 GB, free: 90.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08033/1.544, allocations: 59.94 MB / 0.8687 GB, free: 24.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00526/1.55, allocations: 3.6 MB / 0.8722 GB, free: 20.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006171/1.556, allocations: 2.298 MB / 0.8744 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004805/1.561, allocations: 2.502 MB / 0.8769 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/1.561, allocations: 0 / 0.8769 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4829/2.044, allocations: 93.27 MB / 0.968 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.38/21.42, allocations: 0 / 0.968 GB, free: 212.8 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches