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.001152/0.001157, allocations: 104.9 kB / 16.4 MB, free: 6.5 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.001261/0.001261, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.493/1.493, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2071/0.2071, allocations: 43.52 MB / 314.1 MB, free: 456 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.002567/0.002567, allocations: 63.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1155, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003761/0.1193, allocations: 3.076 MB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.1202, allocations: 406.5 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.1204, allocations: 11.94 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1206, allocations: 75.3 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.1209, allocations: 158.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1212, allocations: 99.81 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.1217, allocations: 0.5403 MB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.122, allocations: 169 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.1223, allocations: 207.3 kB / 0.492 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1225, allocations: 215 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.426e-05/0.1226, allocations: 40 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.1227, allocations: 40 kB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.1228, allocations: 95.64 kB / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.123, allocations: 254.9 kB / 0.4926 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.1235, allocations: 0.5177 MB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1235, allocations: 0 / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1235, allocations: 4 kB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1235, allocations: 0 / 0.4931 GB, free: 6.406 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.001016/0.1245, allocations: 0.7134 MB / 0.4938 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1246, allocations: 19.89 kB / 0.4938 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.287e-05/0.1247, allocations: 86.7 kB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.1248, allocations: 52.38 kB / 0.494 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1251, allocations: 295.4 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1251, allocations: 33.38 kB / 0.4943 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/0.1252, allocations: 60.27 kB / 0.4943 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.1258, allocations: 454.7 kB / 0.4948 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.1259, allocations: 15.84 kB / 0.4948 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.1259, allocations: 16 kB / 0.4948 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1259, allocations: 12 kB / 0.4948 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.1263, allocations: 259.7 kB / 0.4951 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.1284, allocations: 1.691 MB / 0.4967 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.1289, allocations: 419.6 kB / 0.4971 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.1291, allocations: 167.6 kB / 0.4973 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1291, allocations: 4 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1291, allocations: 50.48 kB / 0.4973 GB, free: 1.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.1291, allocations: 0 / 0.4973 GB, free: 1.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006731/0.1298, allocations: 353.6 kB / 0.4977 GB, free: 1.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1299, allocations: 269 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1302, allocations: 255.3 kB / 0.4982 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1302, allocations: 37.7 kB / 0.4982 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1303, allocations: 247.6 kB / 0.4984 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.1305, allocations: 173.5 kB / 0.4986 GB, free: 368 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1306, allocations: 110.6 kB / 0.4987 GB, free: 252 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1307, allocations: 346.8 kB / 0.499 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1309, allocations: 126.1 kB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.1313, allocations: 417.6 kB / 0.4995 GB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.1318, allocations: 0.5771 MB / 0.5001 GB, free: 14.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1319, allocations: 4 kB / 0.5001 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007476/0.1326, allocations: 0.5677 MB / 0.5007 GB, free: 13.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1326, allocations: 8 kB / 0.5007 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1326, allocations: 8 kB / 0.5007 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.1327, allocations: 19.94 kB / 0.5007 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.1332, allocations: 175.7 kB / 0.5009 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.1332, allocations: 19.94 kB / 0.5009 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.1335, allocations: 67.28 kB / 0.501 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.1335, allocations: 32 kB / 0.501 GB, free: 13.61 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.0001858/0.1337, allocations: 197.5 kB / 0.5012 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.1339, allocations: 35.62 kB / 0.5012 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.134, allocations: 41.7 kB / 0.5012 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.134, allocations: 7.938 kB / 0.5013 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.134, allocations: 4 kB / 0.5013 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.134, allocations: 7.984 kB / 0.5013 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.135, allocations: 409.2 kB / 0.5017 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.135, allocations: 4.125 kB / 0.5017 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/0.1355, allocations: 131.8 kB / 0.5018 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1355, allocations: 4 kB / 0.5018 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.1356, allocations: 19.98 kB / 0.5018 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.1356, allocations: 7.938 kB / 0.5018 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1356, allocations: 7.938 kB / 0.5018 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.1364, allocations: 1.074 MB / 0.5029 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.1365, allocations: 116.6 kB / 0.503 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.1366, allocations: 11.94 kB / 0.503 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.1369, allocations: 12 kB / 0.503 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.137, allocations: 35.83 kB / 0.503 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.137, allocations: 16 kB / 0.5031 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1372, allocations: 170 kB / 0.5032 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1372, allocations: 0 / 0.5032 GB, free: 11.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007463/0.1379, allocations: 135.7 kB / 0.5033 GB, free: 11.08 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.001121/0.1391, allocations: 1.64 MB / 0.505 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.1396, allocations: 349.5 kB / 0.5053 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1396, allocations: 0.75 kB / 0.5053 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1397, allocations: 131.8 kB / 0.5054 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.141, allocations: 93.72 kB / 0.5055 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.1467, allocations: 5.583 MB / 0.511 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1471, allocations: 0.8317 MB / 0.5118 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.1473, allocations: 44.17 kB / 0.5118 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.1475, allocations: 143.4 kB / 0.5119 GB, free: 1.848 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1475, allocations: 0 / 0.5119 GB, free: 1.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1745, allocations: 8.425 MB / 0.5202 GB, free: 9.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.576, allocations: 8.062 kB / 0.5202 GB, free: 9.398 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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