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.001356/0.001356, allocations: 104.1 kB / 16.27 MB, free: 5.977 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.001505/0.001505, allocations: 188.6 kB / 17.19 MB, free: 5.609 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.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.3242/0.3242, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 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.001633/0.001633, allocations: 66.38 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003328/0.113, allocations: 3.053 MB / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.1138, allocations: 414.5 kB / 444.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.1139, allocations: 11.94 kB / 444.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1141, allocations: 67.3 kB / 444.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1144, allocations: 170.5 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1147, allocations: 99.88 kB / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1151, allocations: 0.5364 MB / 445 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1154, allocations: 153.1 kB / 445.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1156, allocations: 191.4 kB / 445.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.1159, allocations: 223 kB / 445.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.1159, allocations: 43.94 kB / 445.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.116, allocations: 44 kB / 445.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1161, allocations: 95.67 kB / 445.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.1162, allocations: 246.8 kB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.1166, allocations: 0.5177 MB / 446.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1166, allocations: 4 kB / 446.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1166, allocations: 0 / 446.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1167, allocations: 0 / 446.4 MB, free: 0.9609 MB / 318.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.000797/0.1175, allocations: 0.7212 MB / 447.2 MB, free: 192 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.1175, allocations: 15.89 kB / 447.2 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.181e-05/0.1176, allocations: 86.7 kB / 447.3 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.1177, allocations: 52.38 kB / 447.3 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.118, allocations: 295.5 kB / 447.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.1181, allocations: 33.38 kB / 447.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.1182, allocations: 56.28 kB / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.1188, allocations: 458.6 kB / 448.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1188, allocations: 11.84 kB / 448.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.1189, allocations: 23.98 kB / 448.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1189, allocations: 12 kB / 448.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1193, allocations: 266.8 kB / 448.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.1216, allocations: 1.699 MB / 450.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.1221, allocations: 415.4 kB / 450.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.1223, allocations: 151.7 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1224, allocations: 4 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.1224, allocations: 58.48 kB / 450.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/0.1224, allocations: 0 / 450.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008035/0.1232, allocations: 354.3 kB / 451.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.1234, allocations: 277.5 kB / 451.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1238, allocations: 250.7 kB / 451.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1238, allocations: 37.64 kB / 451.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.124, allocations: 235.7 kB / 451.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1242, allocations: 177.5 kB / 452.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.1244, allocations: 114.6 kB / 452.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1246, allocations: 354.8 kB / 452.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.1247, allocations: 114 kB / 452.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.1251, allocations: 421.6 kB / 453.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.1259, allocations: 0.5767 MB / 453.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1259, allocations: 4 kB / 453.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008117/0.1267, allocations: 0.5674 MB / 454.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.1267, allocations: 8 kB / 454.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1268, allocations: 12 kB / 454.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.1268, allocations: 19.88 kB / 454.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.1273, allocations: 179.7 kB / 454.4 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.1274, allocations: 15.94 kB / 454.4 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.1277, allocations: 67.66 kB / 454.5 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.1277, allocations: 36 kB / 454.5 MB, free: 8.152 MB / 334.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.0002031/0.1279, allocations: 193.5 kB / 454.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.1281, allocations: 35.62 kB / 454.8 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.517e-05/0.1282, allocations: 41.7 kB / 454.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1282, allocations: 15.88 kB / 454.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.1282, allocations: 0 / 454.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1283, allocations: 7.984 kB / 454.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.1293, allocations: 409.2 kB / 455.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1293, allocations: 0 / 455.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.1298, allocations: 127.9 kB / 455.3 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1298, allocations: 4 kB / 455.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.1299, allocations: 19.98 kB / 455.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1299, allocations: 3.938 kB / 455.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1299, allocations: 7.984 kB / 455.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.1308, allocations: 1.079 MB / 456.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/0.1309, allocations: 112.6 kB / 456.6 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.131, allocations: 19.92 kB / 456.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.1314, allocations: 8 kB / 456.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.1314, allocations: 35.91 kB / 456.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.1314, allocations: 12 kB / 456.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1316, allocations: 177.9 kB / 456.8 MB, free: 5.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1316, allocations: 0 / 456.8 MB, free: 5.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008563/0.1325, allocations: 139.6 kB / 456.9 MB, free: 5.625 MB / 334.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.001241/0.1337, allocations: 1.65 MB / 458.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.1344, allocations: 357.8 kB / 458.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1344, allocations: 4.062 kB / 459 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1345, allocations: 123.8 kB / 459.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.1357, allocations: 97.03 kB / 459.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006147/0.1419, allocations: 5.605 MB / 464.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.1424, allocations: 0.8314 MB / 465.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.1426, allocations: 48.16 kB / 465.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.1428, allocations: 139.4 kB / 465.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.143e-06/0.1428, allocations: 4 kB / 465.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.173, allocations: 8.113 MB / 473.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.857, allocations: 4.062 kB / 473.9 MB, free: 4.25 MB / 350.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