Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001591/0.001591, allocations: 103.7 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.001825/0.001825, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2321/0.2321, allocations: 46.11 MB / 344.2 MB, free: 11.6 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002513, allocations: 84.27 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1285, allocations: 62.45 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004616/0.1332, allocations: 3.081 MB / 483.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1343, allocations: 418.5 kB / 483.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.1346, allocations: 11.94 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1348, allocations: 59.31 kB / 483.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.1353, allocations: 162.6 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1356, allocations: 107.9 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006773/0.1363, allocations: 0.5287 MB / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.1366, allocations: 164.8 kB / 484.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.1369, allocations: 199.3 kB / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.1372, allocations: 215 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.1373, allocations: 40 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1374, allocations: 44 kB / 485.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.395e-05/0.1375, allocations: 95.67 kB / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.1378, allocations: 247 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.1384, allocations: 0.5101 MB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1384, allocations: 4 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1384, allocations: 0 / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.1385, allocations: 4 kB / 486.1 MB, free: 15.3 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.001236/0.1397, allocations: 0.7096 MB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1398, allocations: 12.03 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1399, allocations: 86.64 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.14, allocations: 56.28 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1404, allocations: 295.5 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.1404, allocations: 37.38 kB / 487.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.227e-05/0.1405, allocations: 56.28 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.1412, allocations: 454.6 kB / 487.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/0.1413, allocations: 15.84 kB / 487.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.1413, allocations: 20 kB / 487.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1414, allocations: 16 kB / 487.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/0.1419, allocations: 268.5 kB / 488.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.1443, allocations: 1.699 MB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.1449, allocations: 415.4 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.1452, allocations: 156.2 kB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1452, allocations: 8 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.1452, allocations: 50.5 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.364e-06/0.1453, allocations: 0 / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.000798/0.1461, allocations: 362.1 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.1463, allocations: 273 kB / 491 MB, free: 9.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.1466, allocations: 246.6 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1466, allocations: 33.7 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.1468, allocations: 239.6 kB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.147, allocations: 181.4 kB / 491.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1471, allocations: 122.7 kB / 491.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.1474, allocations: 350.8 kB / 492.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.1477, allocations: 114.5 kB / 492.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.1481, allocations: 417.4 kB / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.1489, allocations: 0.5801 MB / 493.2 MB, free: 7.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1489, allocations: 4 kB / 493.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008631/0.1498, allocations: 0.567 MB / 493.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1498, allocations: 10.66 kB / 493.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.1498, allocations: 12 kB / 493.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.1499, allocations: 20.66 kB / 493.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.1504, allocations: 187.7 kB / 494 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.1504, allocations: 20.23 kB / 494.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.1507, allocations: 59.38 kB / 494.1 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.1508, allocations: 36 kB / 494.1 MB, free: 6.484 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.0002134/0.151, allocations: 181.5 kB / 494.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.1512, allocations: 35.62 kB / 494.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.607e-05/0.1513, allocations: 41.7 kB / 494.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.1513, allocations: 11.94 kB / 494.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1513, allocations: 0 / 494.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.1513, allocations: 15.92 kB / 494.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1524, allocations: 413.2 kB / 494.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1524, allocations: 0 / 494.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.153, allocations: 127.8 kB / 495 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.153, allocations: 4 kB / 495 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.153, allocations: 16.12 kB / 495 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.153, allocations: 15.92 kB / 495 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.153, allocations: 0 / 495 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1541, allocations: 1.082 MB / 496.1 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1543, allocations: 116.6 kB / 496.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.1543, allocations: 19.94 kB / 496.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.1547, allocations: 8 kB / 496.2 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1548, allocations: 27.97 kB / 496.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.1548, allocations: 15.98 kB / 496.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.155, allocations: 170 kB / 496.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.155, allocations: 3.938 kB / 496.4 MB, free: 4.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008867/0.1559, allocations: 131.8 kB / 496.6 MB, free: 3.977 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.001503/0.1574, allocations: 1.635 MB / 498.2 MB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.1581, allocations: 364.7 kB / 498.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1582, allocations: 0 / 498.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1583, allocations: 127.8 kB / 498.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1596, allocations: 106.1 kB / 498.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007429/0.167, allocations: 5.606 MB / 0.4926 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/0.1676, allocations: 0.8314 MB / 0.4934 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1678, allocations: 56.14 kB / 0.4934 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.168, allocations: 139.4 kB / 0.4936 GB, free: 10.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.168, allocations: 0 / 0.4936 GB, free: 10.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.202, allocations: 8.112 MB / 0.5015 GB, free: 2.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.426, allocations: 15.86 kB / 0.5015 GB, free: 2.723 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1)