Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_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.00128/0.00128, allocations: 108.6 kB / 17.32 MB, free: 5.621 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.001414/0.001414, allocations: 189.4 kB / 18.25 MB, free: 4.938 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.357/1.357, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2213/0.2213, allocations: 44.17 MB / 336.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 58.77 kB / 408 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 60.83 MB / 468.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004218/0.1077, allocations: 3.091 MB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.1086, allocations: 414.5 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.1089, allocations: 7.938 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1091, allocations: 43.62 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.1095, allocations: 150.8 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1098, allocations: 83.92 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.1102, allocations: 0.5404 MB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.1105, allocations: 168.6 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1107, allocations: 203.2 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1109, allocations: 211 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.111, allocations: 40 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.1111, allocations: 40 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.1112, allocations: 95.69 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.1114, allocations: 254.9 kB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.1118, allocations: 0.5102 MB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1118, allocations: 0 / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1118, allocations: 0 / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1119, allocations: 4 kB / 474.6 MB, free: 8.82 MB / 350.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.0009447/0.1128, allocations: 0.7058 MB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1129, allocations: 12.03 kB / 475.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.672e-05/0.113, allocations: 90.7 kB / 475.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.113, allocations: 56.28 kB / 475.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1134, allocations: 287.6 kB / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.1134, allocations: 33.38 kB / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.1135, allocations: 56.22 kB / 475.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.1141, allocations: 462.6 kB / 476.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.1142, allocations: 19.83 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1142, allocations: 16 kB / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1142, allocations: 15.94 kB / 476.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.1146, allocations: 263.6 kB / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1167, allocations: 1.695 MB / 478.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.1173, allocations: 419.6 kB / 478.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1175, allocations: 163.6 kB / 478.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1176, allocations: 4 kB / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1176, allocations: 46.5 kB / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.285e-06/0.1176, allocations: 0 / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006877/0.1183, allocations: 361.7 kB / 479.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.1184, allocations: 265 kB / 479.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1187, allocations: 250.6 kB / 479.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1187, allocations: 38.14 kB / 479.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1188, allocations: 247.6 kB / 480.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.119, allocations: 181.4 kB / 480.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1191, allocations: 114.6 kB / 480.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1193, allocations: 350.8 kB / 480.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.1195, allocations: 121.9 kB / 480.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.1199, allocations: 417.4 kB / 481.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/0.1205, allocations: 0.5732 MB / 481.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.1205, allocations: 4 kB / 481.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008098/0.1214, allocations: 0.5637 MB / 482.4 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1214, allocations: 8.188 kB / 482.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.1214, allocations: 16 kB / 482.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.1214, allocations: 19.92 kB / 482.4 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.122, allocations: 179.7 kB / 482.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.122, allocations: 23.92 kB / 482.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.1223, allocations: 63.38 kB / 482.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.1223, allocations: 32 kB / 482.7 MB, free: 20 kB / 350.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.0002241/0.1226, allocations: 181.5 kB / 482.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.1228, allocations: 43.56 kB / 482.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.392e-05/0.1229, allocations: 45.7 kB / 483 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.1229, allocations: 15.92 kB / 483 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.1229, allocations: 256 / 483 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1229, allocations: 4 kB / 483 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.1239, allocations: 421.1 kB / 483.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1239, allocations: 0 / 483.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.1245, allocations: 123.9 kB / 483.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.1245, allocations: 4 kB / 483.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.1246, allocations: 15.94 kB / 483.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1246, allocations: 7.938 kB / 483.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1246, allocations: 11.98 kB / 483.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.1255, allocations: 1.072 MB / 484.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.1255, allocations: 120.5 kB / 484.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.1256, allocations: 11.94 kB / 484.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.126, allocations: 12 kB / 484.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.1261, allocations: 31.95 kB / 484.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1261, allocations: 8 kB / 484.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1263, allocations: 174 kB / 485 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1263, allocations: 0 / 485 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008569/0.1271, allocations: 131.8 kB / 485.1 MB, free: 13.51 MB / 366.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.001282/0.1284, allocations: 1.637 MB / 486.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.129, allocations: 373.2 kB / 487.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.129, allocations: 4 kB / 487.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1292, allocations: 128.2 kB / 487.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.1304, allocations: 99.97 kB / 487.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/0.137, allocations: 5.769 MB / 493.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.1375, allocations: 0.8313 MB / 493.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.1377, allocations: 48.16 kB / 494 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.1379, allocations: 139.4 kB / 494.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1379, allocations: 4 kB / 494.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.1611, allocations: 8.019 MB / 0.4904 GB, free: 12.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1613, allocations: 230.3 kB / 0.4906 GB, free: 11.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.191, allocations: 0 / 0.4906 GB, free: 11.95 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches