Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.243/0.243, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002494/0.002494, allocations: 84.5 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1348, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.004171/0.139, allocations: 1.858 MB / 482.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.1394, allocations: 151.4 kB / 482.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.1396, allocations: 4 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.364e-05/0.1396, allocations: 19.78 kB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1398, allocations: 63.48 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.14, allocations: 35.95 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1402, allocations: 183.1 kB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1404, allocations: 65.44 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1405, allocations: 63.78 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1406, allocations: 71.7 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1407, allocations: 16 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.085e-05/0.1407, allocations: 12 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.1408, allocations: 35.86 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.398e-05/0.1409, allocations: 91.58 kB / 482.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1411, allocations: 171.7 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1411, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1411, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1411, allocations: 0 / 483 MB, free: 2.305 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006471/0.1418, allocations: 455.2 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1418, allocations: 8.031 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.1419, allocations: 58.73 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1419, allocations: 16.75 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1422, allocations: 200.1 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1422, allocations: 16.7 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.1423, allocations: 24.2 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.1426, allocations: 162.2 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1426, allocations: 3.938 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1426, allocations: 15.97 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1427, allocations: 4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1429, allocations: 95.89 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.1438, allocations: 0.6188 MB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1441, allocations: 129.2 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1442, allocations: 49.7 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1442, allocations: 0 / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1442, allocations: 46.55 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1443, allocations: 0 / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008807/0.1451, allocations: 369.4 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.1452, allocations: 85.11 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1454, allocations: 134 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1454, allocations: 25.7 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.1455, allocations: 128 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.1455, allocations: 63.19 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.1456, allocations: 33.72 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1458, allocations: 322.8 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.1458, allocations: 39.98 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.146, allocations: 102 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.1462, allocations: 164.9 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1462, allocations: 0 / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003972/0.1466, allocations: 226.8 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1466, allocations: 11.98 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1467, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.1469, allocations: 49.95 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.147, allocations: 39.92 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.1497, allocations: 2.995 MB / 489.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/0.1498, allocations: 15.84 kB / 489.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1498, allocations: 8 kB / 489.7 MB, free: 10.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.15, allocations: 137.8 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.15, allocations: 7.906 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1501, allocations: 24.64 kB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1501, allocations: 4 kB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1501, allocations: 0 / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1501, allocations: 0 / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.1504, allocations: 229.5 kB / 490.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1504, allocations: 0 / 490.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1506, allocations: 31.92 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.1507, allocations: 49.7 kB / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1508, allocations: 3.938 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.1532, allocations: 2.99 MB / 493.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1532, allocations: 160 / 493.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.1537, allocations: 378.3 kB / 493.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.1538, allocations: 92.89 kB / 493.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1538, allocations: 0 / 493.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1539, allocations: 8 kB / 493.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1539, allocations: 15.98 kB / 493.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.154, allocations: 8 kB / 493.6 MB, free: 6.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.154, allocations: 95.27 kB / 493.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 493.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.1545, allocations: 51.91 kB / 493.8 MB, free: 6.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000802/0.1553, allocations: 0.9076 MB / 494.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.1559, allocations: 353.6 kB / 495 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.156, allocations: 0 / 495 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.1563, allocations: 293.2 kB / 495.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.1569, allocations: 30.73 kB / 495.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.1599, allocations: 2.309 MB / 497.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1604, allocations: 0.7281 MB / 498.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.1604, allocations: 13.42 kB / 498.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.1605, allocations: 39.42 kB / 498.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1605, allocations: 0 / 498.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.1947, allocations: 3.677 MB / 0.4903 GB, free: 14.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.933/10.13, allocations: 11.67 kB / 0.4904 GB, free: 14.06 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_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_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)