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.001344/0.001344, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001477/0.001477, allocations: 190.1 kB / 17.34 MB, free: 5.762 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.289/1.289, 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.2026/0.2026, allocations: 43.52 MB / 314.1 MB, free: 472 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.001469/0.00147, allocations: 59.91 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004134/0.1068, allocations: 3.065 MB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.1078, allocations: 414.5 kB / 0.4908 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.1082, allocations: 8 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1084, allocations: 67.31 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1088, allocations: 170.5 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1091, allocations: 99.86 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005792/0.1097, allocations: 0.5364 MB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.11, allocations: 168.8 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.1103, allocations: 199.3 kB / 0.492 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1106, allocations: 219 kB / 0.4922 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/0.1106, allocations: 40 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1107, allocations: 40 kB / 0.4923 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1108, allocations: 107.5 kB / 0.4924 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.111, allocations: 242.9 kB / 0.4926 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.1116, allocations: 0.5213 MB / 0.4931 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1116, allocations: 4 kB / 0.4931 GB, free: 6.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1116, allocations: 0 / 0.4931 GB, free: 6.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.1116, allocations: 0 / 0.4931 GB, free: 6.441 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.0009931/0.1126, allocations: 0.7208 MB / 0.4938 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1127, allocations: 15.89 kB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.771e-05/0.1128, allocations: 82.7 kB / 0.4939 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.1129, allocations: 60.61 kB / 0.494 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1132, allocations: 299.5 kB / 0.4943 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.1132, allocations: 37.38 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.1133, allocations: 52.33 kB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.114, allocations: 454.7 kB / 0.4948 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.114, allocations: 15.83 kB / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.1141, allocations: 27.98 kB / 0.4948 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1141, allocations: 12 kB / 0.4948 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.1145, allocations: 255.1 kB / 0.4951 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.1166, allocations: 1.696 MB / 0.4967 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.1171, allocations: 419.3 kB / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1173, allocations: 163.6 kB / 0.4973 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1173, allocations: 11.94 kB / 0.4973 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1173, allocations: 42.5 kB / 0.4973 GB, free: 1.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.724e-06/0.1174, allocations: 4 kB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006972/0.1181, allocations: 370 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1182, allocations: 265 kB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.1184, allocations: 250.9 kB / 0.4982 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1184, allocations: 30.2 kB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1186, allocations: 256.2 kB / 0.4985 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1187, allocations: 182.4 kB / 0.4986 GB, free: 372 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.1189, allocations: 118.6 kB / 0.4987 GB, free: 248 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.119, allocations: 350.8 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1192, allocations: 117.9 kB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.1196, allocations: 417.6 kB / 0.4996 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.1202, allocations: 0.5732 MB / 0.5001 GB, free: 14.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1202, allocations: 4 kB / 0.5002 GB, free: 14.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007919/0.121, allocations: 0.5678 MB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.121, allocations: 8 kB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.121, allocations: 16.12 kB / 0.5007 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.1211, allocations: 15.94 kB / 0.5007 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.1216, allocations: 183.7 kB / 0.5009 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/0.1216, allocations: 23.92 kB / 0.5009 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.1219, allocations: 59.56 kB / 0.501 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.1219, allocations: 36 kB / 0.501 GB, free: 13.6 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.000175/0.1221, allocations: 181.5 kB / 0.5012 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.1223, allocations: 43.75 kB / 0.5012 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.1224, allocations: 45.7 kB / 0.5013 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.1224, allocations: 11.94 kB / 0.5013 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1224, allocations: 0 / 0.5013 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1224, allocations: 7.984 kB / 0.5013 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.1234, allocations: 421.4 kB / 0.5017 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1234, allocations: 4 kB / 0.5017 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.1239, allocations: 123.9 kB / 0.5018 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.1239, allocations: 4 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.124, allocations: 8 kB / 0.5018 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.124, allocations: 11.88 kB / 0.5019 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.124, allocations: 11.94 kB / 0.5019 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.1248, allocations: 1.079 MB / 0.5029 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.1249, allocations: 116.8 kB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.1249, allocations: 15.94 kB / 0.503 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.1253, allocations: 8 kB / 0.5031 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.1254, allocations: 31.91 kB / 0.5031 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1254, allocations: 15.98 kB / 0.5031 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1256, allocations: 170 kB / 0.5033 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1256, allocations: 4 kB / 0.5033 GB, free: 11.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007959/0.1264, allocations: 135.8 kB / 0.5034 GB, free: 11.07 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.00127/0.1276, allocations: 1.644 MB / 0.505 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.1282, allocations: 357.5 kB / 0.5053 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1282, allocations: 0 / 0.5053 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1284, allocations: 123.8 kB / 0.5055 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.1295, allocations: 108.7 kB / 0.5056 GB, free: 8.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.1354, allocations: 5.594 MB / 0.511 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1359, allocations: 0.8433 MB / 0.5119 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.136, allocations: 52.14 kB / 0.5119 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1362, allocations: 139.4 kB / 0.512 GB, free: 1.801 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1362, allocations: 0 / 0.512 GB, free: 1.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.1632, allocations: 8.287 MB / 0.5201 GB, free: 9.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.077, allocations: 7.812 kB / 0.5201 GB, free: 9.484 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