Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",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.001885/0.001891, allocations: 104 kB / 16.4 MB, free: 6.465 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.002166/0.002166, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.239/0.239, allocations: 43.52 MB / 314.1 MB, free: 452 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.002165/0.002165, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004941/0.1352, allocations: 3.068 MB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1363, allocations: 410.5 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1366, allocations: 11.94 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.1369, allocations: 67.31 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1373, allocations: 166.5 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1376, allocations: 99.86 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006665/0.1383, allocations: 0.5403 MB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.1387, allocations: 164.8 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.139, allocations: 195.3 kB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.1393, allocations: 215 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.066e-05/0.1394, allocations: 40 kB / 0.4922 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.1395, allocations: 40 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1396, allocations: 99.62 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.1399, allocations: 250.9 kB / 0.4926 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006942/0.1406, allocations: 0.5252 MB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1406, allocations: 4 kB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1406, allocations: 0 / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1406, allocations: 0 / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001222/0.1419, allocations: 0.7169 MB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1419, allocations: 15.89 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.142, allocations: 86.7 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.1421, allocations: 56.61 kB / 0.494 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.1426, allocations: 299.5 kB / 0.4942 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.1426, allocations: 37.38 kB / 0.4943 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.1427, allocations: 56.31 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008141/0.1436, allocations: 454.7 kB / 0.4948 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.1436, allocations: 11.89 kB / 0.4948 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.1437, allocations: 31.94 kB / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1437, allocations: 12 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.1442, allocations: 259.1 kB / 0.4951 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.1468, allocations: 1.688 MB / 0.4967 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.1474, allocations: 423.7 kB / 0.4971 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.1477, allocations: 159.7 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.1477, allocations: 11.94 kB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.1478, allocations: 42.5 kB / 0.4973 GB, free: 1.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 3.667e-06/0.1478, allocations: 4 kB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008264/0.1486, allocations: 361.3 kB / 0.4977 GB, free: 1.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.1488, allocations: 273 kB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.1491, allocations: 250.9 kB / 0.4982 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1492, allocations: 29.7 kB / 0.4982 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1494, allocations: 252.7 kB / 0.4984 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.1496, allocations: 190.4 kB / 0.4986 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1498, allocations: 114.6 kB / 0.4987 GB, free: 220 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.15, allocations: 350.8 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1502, allocations: 117.9 kB / 0.4992 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.1507, allocations: 417.6 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.1515, allocations: 0.5737 MB / 0.5001 GB, free: 14.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.1515, allocations: 8 kB / 0.5001 GB, free: 14.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009306/0.1524, allocations: 0.564 MB / 0.5007 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.1525, allocations: 11.98 kB / 0.5007 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.1525, allocations: 12 kB / 0.5007 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.545e-05/0.1525, allocations: 23.98 kB / 0.5007 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.1531, allocations: 175.7 kB / 0.5009 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/0.1532, allocations: 23.92 kB / 0.5009 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.1535, allocations: 59.56 kB / 0.501 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.1536, allocations: 36 kB / 0.501 GB, free: 13.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0002475/0.1538, allocations: 185.5 kB / 0.5012 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.154, allocations: 43.75 kB / 0.5012 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1541, allocations: 45.7 kB / 0.5013 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.1542, allocations: 11.94 kB / 0.5013 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.1542, allocations: 0 / 0.5013 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.1542, allocations: 4 kB / 0.5013 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1554, allocations: 425.2 kB / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1554, allocations: 0 / 0.5017 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.156, allocations: 123.9 kB / 0.5018 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.156, allocations: 4 kB / 0.5018 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.156, allocations: 8 kB / 0.5018 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.1561, allocations: 11.92 kB / 0.5018 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.1561, allocations: 7.938 kB / 0.5019 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.1572, allocations: 1.086 MB / 0.5029 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1574, allocations: 112.8 kB / 0.503 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.1574, allocations: 15.94 kB / 0.503 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.1579, allocations: 8.125 kB / 0.503 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.1579, allocations: 35.89 kB / 0.5031 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.158, allocations: 16 kB / 0.5031 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1582, allocations: 170 kB / 0.5033 GB, free: 11.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1582, allocations: 4 kB / 0.5033 GB, free: 11.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009591/0.1591, allocations: 135.8 kB / 0.5034 GB, free: 11.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001531/0.1607, allocations: 1.644 MB / 0.505 GB, free: 9.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.1614, allocations: 351.9 kB / 0.5053 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1615, allocations: 1.938 kB / 0.5053 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.1616, allocations: 127.7 kB / 0.5055 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.163, allocations: 96.22 kB / 0.5055 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007196/0.1702, allocations: 5.606 MB / 0.511 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.1707, allocations: 0.8356 MB / 0.5118 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.1709, allocations: 48.16 kB / 0.5119 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.1711, allocations: 139.4 kB / 0.512 GB, free: 1.777 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1711, allocations: 0 / 0.512 GB, free: 1.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.2055, allocations: 8.3 MB / 0.5201 GB, free: 9.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.992/9.197, allocations: 8 kB / 0.5201 GB, free: 9.457 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_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_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches