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.001434/0.001434, allocations: 102.5 kB / 17.63 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 210.4 kB / 18.58 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2301/0.2301, allocations: 46.1 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.002241/0.002241, allocations: 81.28 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.144, allocations: 62.45 MB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003712/0.1478, allocations: 1.859 MB / 482.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.1482, allocations: 147.5 kB / 482.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1482, allocations: 4 kB / 482.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.582e-05/0.1483, allocations: 31.73 kB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1485, allocations: 47.55 kB / 482.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1486, allocations: 43.89 kB / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1489, allocations: 187.1 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1491, allocations: 57.5 kB / 482.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1492, allocations: 63.78 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1493, allocations: 75.69 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1493, allocations: 20 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.1494, allocations: 12 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1494, allocations: 39.8 kB / 482.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.1495, allocations: 79.61 kB / 482.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.1498, allocations: 183.6 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1498, allocations: 0 / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1498, allocations: 0 / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1498, allocations: 4 kB / 483 MB, free: 2.32 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.000671/0.1505, allocations: 453.5 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1505, allocations: 8.031 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.1506, allocations: 50.73 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.1507, allocations: 16.75 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1509, allocations: 204.1 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.151, allocations: 12.7 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.151, allocations: 16.28 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1513, allocations: 174.1 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.1514, allocations: 11.94 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1514, allocations: 8 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.1514, allocations: 4 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1516, allocations: 87.94 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000917/0.1525, allocations: 0.6189 MB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1528, allocations: 125.2 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.1529, allocations: 53.7 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1529, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1529, allocations: 42.69 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1529, allocations: 0 / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009104/0.1539, allocations: 377.5 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1539, allocations: 85.19 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1541, allocations: 133.2 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1541, allocations: 33.69 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.1542, allocations: 124.1 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.1543, allocations: 59.19 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.1544, allocations: 37.7 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1545, allocations: 326.8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.1546, allocations: 35.98 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1548, allocations: 113.9 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.155, allocations: 152.6 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.155, allocations: 8 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004214/0.1554, allocations: 222.9 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1555, allocations: 8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1555, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.1557, allocations: 57.88 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1559, allocations: 35.98 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1585, allocations: 2.983 MB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.633e-05/0.1586, allocations: 15.84 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1586, allocations: 8.125 kB / 489.7 MB, free: 11.02 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.000144/0.1588, allocations: 137.7 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.1588, allocations: 11.91 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.1589, allocations: 20.64 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1589, allocations: 4 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1589, allocations: 0 / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1589, allocations: 0 / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1593, allocations: 233.5 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1593, allocations: 4.094 kB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1595, allocations: 39.8 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.1596, allocations: 49.69 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.1596, allocations: 7.938 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.1621, allocations: 2.982 MB / 493.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1622, allocations: 0 / 493.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.1626, allocations: 368.2 kB / 493.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1627, allocations: 88.95 kB / 493.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1627, allocations: 8.047 kB / 493.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1628, allocations: 8 kB / 493.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1629, allocations: 15.98 kB / 493.6 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1629, allocations: 4 kB / 493.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.41e-05/0.163, allocations: 95.27 kB / 493.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.163, allocations: 0 / 493.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004732/0.1635, allocations: 51.91 kB / 493.8 MB, free: 6.531 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.0009219/0.1644, allocations: 0.9194 MB / 494.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.165, allocations: 345.5 kB / 495 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.165, allocations: 0 / 495 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.1653, allocations: 289.2 kB / 495.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.1659, allocations: 28.61 kB / 495.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.1687, allocations: 2.32 MB / 497.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1691, allocations: 0.7242 MB / 498.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.1692, allocations: 13.42 kB / 498.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.1693, allocations: 39.42 kB / 498.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1693, allocations: 0 / 498.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.2089, allocations: 3.681 MB / 0.4904 GB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.888/10.1, allocations: 15.67 kB / 0.4904 GB, free: 14.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)