Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 72.81 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 62.46 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004234/0.1227, allocations: 3.064 MB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.1236, allocations: 414.5 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.1238, allocations: 8 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1241, allocations: 71.3 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1245, allocations: 166.5 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1247, allocations: 99.88 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.1253, allocations: 0.5326 MB / 484.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.1256, allocations: 168.8 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.1258, allocations: 195.3 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.1261, allocations: 223 kB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.1262, allocations: 40 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.1263, allocations: 40 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.1263, allocations: 95.69 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.1266, allocations: 250.9 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.127, allocations: 0.5102 MB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1271, allocations: 7.984 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1271, allocations: 0 / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1271, allocations: 0 / 486 MB, free: 15.32 MB / 366.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.0009656/0.1281, allocations: 0.7096 MB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1281, allocations: 8.031 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.567e-05/0.1282, allocations: 90.7 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.1283, allocations: 60.28 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1286, allocations: 287.5 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.1286, allocations: 33.38 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.1287, allocations: 64.2 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.1294, allocations: 462.7 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.1294, allocations: 15.78 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1295, allocations: 20 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1295, allocations: 12 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.1299, allocations: 266 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.132, allocations: 1.691 MB / 489.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.1325, allocations: 419.9 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1327, allocations: 159.8 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1328, allocations: 8 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1328, allocations: 46.5 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.1328, allocations: 0 / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006993/0.1335, allocations: 356.9 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1337, allocations: 269 kB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1339, allocations: 250.6 kB / 491.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1339, allocations: 29.7 kB / 491.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1341, allocations: 244.1 kB / 491.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.1342, allocations: 185.4 kB / 491.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1344, allocations: 118.5 kB / 491.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1345, allocations: 346.8 kB / 492 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.1347, allocations: 117.9 kB / 492.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.1351, allocations: 421.6 kB / 492.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.1357, allocations: 0.5737 MB / 493.1 MB, free: 7.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.1357, allocations: 8 kB / 493.2 MB, free: 7.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008197/0.1365, allocations: 0.5638 MB / 493.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1366, allocations: 11.94 kB / 493.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.1366, allocations: 11.98 kB / 493.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.1366, allocations: 27.91 kB / 493.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.1371, allocations: 175.7 kB / 493.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.1372, allocations: 23.92 kB / 494 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.1375, allocations: 59.38 kB / 494 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.1375, allocations: 32 kB / 494.1 MB, free: 6.516 MB / 366.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.0001838/0.1377, allocations: 185.5 kB / 494.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.1379, allocations: 43.59 kB / 494.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.138, allocations: 41.7 kB / 494.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.138, allocations: 11.94 kB / 494.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.138, allocations: 4 kB / 494.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.138, allocations: 4 kB / 494.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009829/0.139, allocations: 413.1 kB / 494.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.139, allocations: 4 kB / 494.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.1396, allocations: 123.9 kB / 494.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1396, allocations: 7.938 kB / 494.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.1396, allocations: 12 kB / 494.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.1396, allocations: 15.86 kB / 494.9 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1397, allocations: 4 kB / 494.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.1405, allocations: 1.086 MB / 496 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.1406, allocations: 108.6 kB / 496.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.1406, allocations: 19.94 kB / 496.1 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.141, allocations: 8 kB / 496.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.1411, allocations: 27.95 kB / 496.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1411, allocations: 16 kB / 496.2 MB, free: 4.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1413, allocations: 170 kB / 496.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1413, allocations: 4 kB / 496.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008205/0.1421, allocations: 131.8 kB / 496.5 MB, free: 4.004 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.001052/0.1432, allocations: 1.634 MB / 498.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.1437, allocations: 368.4 kB / 498.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1437, allocations: 1.875 kB / 498.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1439, allocations: 128.2 kB / 498.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.1451, allocations: 96.16 kB / 498.7 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.1514, allocations: 5.606 MB / 0.4925 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.1519, allocations: 0.8392 MB / 0.4933 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.1521, allocations: 48.16 kB / 0.4933 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.1523, allocations: 139.4 kB / 0.4935 GB, free: 10.72 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1523, allocations: 3.938 kB / 0.4935 GB, free: 10.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.1823, allocations: 8.106 MB / 0.5014 GB, free: 2.742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.873, allocations: 6.297 kB / 0.5014 GB, free: 2.742 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv","/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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches