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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001906/0.001906, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2355/0.2355, allocations: 46.89 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.003291/0.003291, allocations: 79.88 kB / 0.4912 GB, free: 8.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1405, allocations: 65.98 MB / 0.5556 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003198/0.1437, allocations: 1.868 MB / 0.5575 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.144, allocations: 147.4 kB / 0.5576 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.1441, allocations: 4 kB / 0.5576 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.285e-05/0.1442, allocations: 35.72 kB / 0.5576 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1443, allocations: 47.55 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.1445, allocations: 39.95 kB / 0.5577 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1447, allocations: 187.1 kB / 0.5579 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1449, allocations: 49.45 kB / 0.5579 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.145, allocations: 63.8 kB / 0.558 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1451, allocations: 75.64 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.1451, allocations: 12 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-05/0.1452, allocations: 20 kB / 0.5581 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.1452, allocations: 39.83 kB / 0.5581 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.1453, allocations: 83.61 kB / 0.5582 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1455, allocations: 175.3 kB / 0.5584 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1455, allocations: 0 / 0.5584 GB, free: 3.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1455, allocations: 0 / 0.5584 GB, free: 3.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1456, allocations: 0 / 0.5584 GB, free: 3.727 MB / 414.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.00064/0.1462, allocations: 451.1 kB / 0.5588 GB, free: 3.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1462, allocations: 11.97 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.1463, allocations: 58.73 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1463, allocations: 16.84 kB / 0.5589 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1466, allocations: 212.1 kB / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1466, allocations: 8.703 kB / 0.5591 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.1467, allocations: 24.33 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.147, allocations: 170.1 kB / 0.5593 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.147, allocations: 3.938 kB / 0.5593 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.147, allocations: 8 kB / 0.5593 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.147, allocations: 8 kB / 0.5593 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1472, allocations: 83.95 kB / 0.5594 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.1481, allocations: 0.6112 MB / 0.56 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1483, allocations: 133.1 kB / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.1484, allocations: 45.7 kB / 0.5602 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1484, allocations: 4 kB / 0.5602 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1484, allocations: 42.69 kB / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1484, allocations: 0 / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008438/0.1493, allocations: 377.3 kB / 0.5606 GB, free: 1.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1493, allocations: 77.11 kB / 0.5606 GB, free: 1.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1495, allocations: 131.7 kB / 0.5608 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1495, allocations: 33.7 kB / 0.5608 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1496, allocations: 132.2 kB / 0.5609 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.1496, allocations: 63.47 kB / 0.561 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.1497, allocations: 37.7 kB / 0.561 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1498, allocations: 322.8 kB / 0.5613 GB, free: 412 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.1499, allocations: 35.98 kB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.15, allocations: 104.5 kB / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1502, allocations: 156.5 kB / 0.5616 GB, free: 52 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1502, allocations: 0 / 0.5616 GB, free: 52 kB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004216/0.1507, allocations: 223.5 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.1507, allocations: 8 kB / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1507, allocations: 0 / 0.5618 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.1509, allocations: 57.56 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1511, allocations: 39.98 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.1537, allocations: 2.983 MB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1538, allocations: 15.89 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1538, allocations: 12.16 kB / 0.5649 GB, free: 12.41 MB / 430.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.0001609/0.154, allocations: 141.6 kB / 0.565 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.154, allocations: 15.91 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1541, allocations: 16.66 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1541, allocations: 4 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.1541, allocations: 4 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1541, allocations: 0 / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.1545, allocations: 233.5 kB / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1545, allocations: 0 / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1546, allocations: 31.92 kB / 0.5653 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.1548, allocations: 45.75 kB / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1548, allocations: 11.91 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.1572, allocations: 2.978 MB / 0.5683 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1572, allocations: 0 / 0.5683 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.1576, allocations: 380.7 kB / 0.5686 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.1577, allocations: 85.05 kB / 0.5687 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1577, allocations: 4 kB / 0.5687 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1578, allocations: 8 kB / 0.5687 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.1578, allocations: 11.98 kB / 0.5687 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1579, allocations: 128 / 0.5687 GB, free: 8.086 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.1579, allocations: 112.5 kB / 0.5688 GB, free: 7.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1579, allocations: 0 / 0.5688 GB, free: 7.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.1584, allocations: 51.89 kB / 0.5689 GB, free: 7.926 MB / 430.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.0007903/0.1592, allocations: 0.9073 MB / 0.5698 GB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.1599, allocations: 360.7 kB / 0.5701 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1599, allocations: 0.5 kB / 0.5701 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.1602, allocations: 281.3 kB / 0.5704 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.1607, allocations: 33.5 kB / 0.5704 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.1636, allocations: 2.326 MB / 0.5727 GB, free: 3.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.164, allocations: 0.7281 MB / 0.5734 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.1641, allocations: 5.438 kB / 0.5734 GB, free: 3.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.1642, allocations: 43.42 kB / 0.5734 GB, free: 2.992 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1642, allocations: 4 kB / 0.5735 GB, free: 2.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.198, allocations: 3.799 MB / 0.5772 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.68, allocations: 15.23 kB / 0.5772 GB, free: 15.35 MB / 446.1 MB " [Timeout remaining time 648] (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 --stepSize=0.000219912 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.050536969210953] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w'] 11.764696049969643 11.780835706 11.631862896 Calling exit ...