Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001842/0.001842, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002002/0.002002, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.533/1.533, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.2447/0.2447, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Directions3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.00243/0.00243, allocations: 79.86 kB / 0.4916 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1399, allocations: 66.04 MB / 0.5561 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00344/0.1433, allocations: 1.689 MB / 0.5578 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.1436, allocations: 107.6 kB / 0.5579 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.1437, allocations: 0 / 0.5579 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.082e-05/0.1438, allocations: 19.8 kB / 0.5579 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1439, allocations: 35.7 kB / 0.5579 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.144, allocations: 31.95 kB / 0.558 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1442, allocations: 119.4 kB / 0.5581 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1444, allocations: 29.11 kB / 0.5581 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1445, allocations: 51.8 kB / 0.5582 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.389e-05/0.1446, allocations: 51.77 kB / 0.5582 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1446, allocations: 8 kB / 0.5582 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.1446, allocations: 12 kB / 0.5582 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1447, allocations: 19.92 kB / 0.5582 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.1447, allocations: 59.73 kB / 0.5583 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1449, allocations: 127.5 kB / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1449, allocations: 0 / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1449, allocations: 0 / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.145, allocations: 0 / 0.5584 GB, free: 3.211 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006052/0.1456, allocations: 407.2 kB / 0.5588 GB, free: 2.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1456, allocations: 12.03 kB / 0.5588 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.047e-05/0.1457, allocations: 50.73 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.1457, allocations: 8.891 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.146, allocations: 196.2 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.146, allocations: 12.61 kB / 0.5591 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.146, allocations: 16.38 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.1463, allocations: 131.5 kB / 0.5592 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1463, allocations: 7.891 kB / 0.5592 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.1463, allocations: 8 kB / 0.5592 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1463, allocations: 8 kB / 0.5592 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1464, allocations: 59.94 kB / 0.5593 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.1473, allocations: 0.5334 MB / 0.5598 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1474, allocations: 85.22 kB / 0.5599 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.1475, allocations: 33.59 kB / 0.5599 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1475, allocations: 3.938 kB / 0.5599 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1475, allocations: 30.56 kB / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.1475, allocations: 0 / 0.56 GB, free: 1.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00066/0.1482, allocations: 309.5 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.1483, allocations: 77.11 kB / 0.5603 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1484, allocations: 125.7 kB / 0.5605 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1484, allocations: 25.7 kB / 0.5605 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.1485, allocations: 119.8 kB / 0.5606 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1485, allocations: 39.72 kB / 0.5606 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.1486, allocations: 29.72 kB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1488, allocations: 330.7 kB / 0.561 GB, free: 296 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.1488, allocations: 20 kB / 0.561 GB, free: 276 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.637e-05/0.1489, allocations: 84.56 kB / 0.5611 GB, free: 160 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.149, allocations: 116.5 kB / 0.5612 GB, free: 12 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.1491, allocations: 4 kB / 0.5612 GB, free: 8 kB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003232/0.1494, allocations: 171.1 kB / 0.5614 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1494, allocations: 4 kB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1494, allocations: 7.938 kB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.1496, allocations: 38.42 kB / 0.5614 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.1497, allocations: 27.92 kB / 0.5614 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.1521, allocations: 2.73 MB / 0.5641 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.1522, allocations: 11.92 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1522, allocations: 16 kB / 0.5641 GB, free: 12.71 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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.1523, allocations: 117.8 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.1524, allocations: 11.94 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.1524, allocations: 19.94 kB / 0.5643 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1524, allocations: 0 / 0.5643 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1524, allocations: 4 kB / 0.5643 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1524, allocations: 0 / 0.5643 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.1527, allocations: 201.5 kB / 0.5645 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1527, allocations: 0 / 0.5645 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.1528, allocations: 15.94 kB / 0.5645 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.153, allocations: 45.64 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.153, allocations: 3.984 kB / 0.5645 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.1552, allocations: 2.73 MB / 0.5672 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1552, allocations: 0 / 0.5672 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1556, allocations: 312.3 kB / 0.5675 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1556, allocations: 81.11 kB / 0.5676 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1556, allocations: 0 / 0.5676 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.1557, allocations: 8 kB / 0.5676 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1558, allocations: 12.09 kB / 0.5676 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.1558, allocations: 7.938 kB / 0.5676 GB, free: 8.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.962e-05/0.1558, allocations: 91.27 kB / 0.5677 GB, free: 8.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1558, allocations: 0 / 0.5677 GB, free: 8.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.1563, allocations: 39.89 kB / 0.5677 GB, free: 8.633 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007295/0.157, allocations: 0.8344 MB / 0.5685 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.1576, allocations: 302.1 kB / 0.5688 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1576, allocations: 4.125 kB / 0.5688 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.1579, allocations: 257.5 kB / 0.5691 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.1585, allocations: 36.12 kB / 0.5691 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.161, allocations: 1.968 MB / 0.571 GB, free: 5.012 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1614, allocations: 0.7045 MB / 0.5717 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.815e-05/0.1614, allocations: 8.891 kB / 0.5717 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.1615, allocations: 32.52 kB / 0.5718 GB, free: 4.238 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1615, allocations: 0 / 0.5718 GB, free: 4.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.1984, allocations: 3.041 MB / 0.5747 GB, free: 1.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 7.922 kB / 0.5747 GB, free: 1.32 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.894575104117393] Failed to read output from testmodel.py, exit status != 0: ['time', 'J1.phi', 'J1.w', 'J3.phi', 'J3.w'] 10.793839011806995 10.812188509 10.663685971 Calling exit ...