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.001379/0.001379, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001699/0.001699, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.319/1.319, allocations: 230.2 MB / 256.2 MB, free: 8.609 MB / 206.1 MB " [Timeout remaining time 179] 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.1998/0.1998, allocations: 46.89 MB / 359.3 MB, free: 4.965 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.00233/0.00233, allocations: 79.86 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2566, allocations: 65.99 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002766/0.2594, allocations: 1.672 MB / 0.56 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.2596, allocations: 107.6 kB / 0.5601 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.2597, allocations: 4 kB / 0.5601 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.2598, allocations: 11.86 kB / 0.5601 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2599, allocations: 43.64 kB / 0.5602 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.26, allocations: 23.97 kB / 0.5602 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.2602, allocations: 139.4 kB / 0.5603 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2603, allocations: 21.11 kB / 0.5604 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.2603, allocations: 47.86 kB / 0.5604 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.2604, allocations: 51.77 kB / 0.5605 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2604, allocations: 8 kB / 0.5605 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.2605, allocations: 12 kB / 0.5605 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.2605, allocations: 23.92 kB / 0.5605 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.2606, allocations: 55.69 kB / 0.5606 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2607, allocations: 129.3 kB / 0.5607 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2607, allocations: 4 kB / 0.5607 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2607, allocations: 0 / 0.5607 GB, free: 2.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2607, allocations: 0 / 0.5607 GB, free: 2.867 MB / 398.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.0004917/0.2612, allocations: 415.1 kB / 0.5611 GB, free: 2.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2613, allocations: 8.031 kB / 0.5611 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.2613, allocations: 42.75 kB / 0.5611 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.2613, allocations: 12.89 kB / 0.5611 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2615, allocations: 200.2 kB / 0.5613 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2615, allocations: 12.61 kB / 0.5613 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.2616, allocations: 16.36 kB / 0.5614 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2618, allocations: 125.5 kB / 0.5615 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2618, allocations: 11.89 kB / 0.5615 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2618, allocations: 4 kB / 0.5615 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2618, allocations: 7.938 kB / 0.5615 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2619, allocations: 59.91 kB / 0.5616 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.2626, allocations: 0.5374 MB / 0.5621 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.2628, allocations: 81.17 kB / 0.5622 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.2628, allocations: 29.73 kB / 0.5622 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.2628, allocations: 4 kB / 0.5622 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2628, allocations: 38.5 kB / 0.5622 GB, free: 1.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2628, allocations: 0 / 0.5622 GB, free: 1.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.2634, allocations: 297.5 kB / 0.5625 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.2634, allocations: 85.09 kB / 0.5626 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2635, allocations: 125.7 kB / 0.5627 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2636, allocations: 25.7 kB / 0.5627 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.2636, allocations: 123.8 kB / 0.5629 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2637, allocations: 31.73 kB / 0.5629 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.2637, allocations: 29.7 kB / 0.5629 GB, free: 288 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2639, allocations: 322.8 kB / 0.5632 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.2639, allocations: 23.98 kB / 0.5632 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.264, allocations: 88.52 kB / 0.5633 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.2641, allocations: 124.5 kB / 0.5634 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2641, allocations: 0 / 0.5634 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002736/0.2644, allocations: 171.5 kB / 0.5636 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2644, allocations: 8 kB / 0.5636 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2644, allocations: 3.938 kB / 0.5636 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.2646, allocations: 37.7 kB / 0.5637 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.2647, allocations: 20 kB / 0.5637 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.2667, allocations: 2.735 MB / 0.5663 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.2668, allocations: 27.98 kB / 0.5664 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.2668, allocations: 4 kB / 0.5664 GB, free: 12.36 MB / 414.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 9.53e-05/0.2669, allocations: 125.8 kB / 0.5665 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.2669, allocations: 7.938 kB / 0.5665 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.2669, allocations: 11.89 kB / 0.5665 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2669, allocations: 4 kB / 0.5665 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.267, allocations: 0 / 0.5665 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.267, allocations: 7.938 kB / 0.5665 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.2672, allocations: 201.5 kB / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2672, allocations: 48 / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.2673, allocations: 19.97 kB / 0.5667 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.6e-05/0.2674, allocations: 41.58 kB / 0.5668 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2674, allocations: 4 kB / 0.5668 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.2693, allocations: 2.718 MB / 0.5694 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2693, allocations: 0 / 0.5694 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.2696, allocations: 316.5 kB / 0.5697 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.2696, allocations: 81.11 kB / 0.5698 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2697, allocations: 4 kB / 0.5698 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.2697, allocations: 8 kB / 0.5698 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.2698, allocations: 11.92 kB / 0.5698 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2698, allocations: 0 / 0.5698 GB, free: 8.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.2698, allocations: 99.27 kB / 0.5699 GB, free: 8.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2698, allocations: 4 kB / 0.5699 GB, free: 8.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.2702, allocations: 39.89 kB / 0.57 GB, free: 8.285 MB / 414.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.0005851/0.2707, allocations: 0.8306 MB / 0.5708 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.2712, allocations: 297.2 kB / 0.5711 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2712, allocations: 0 / 0.5711 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.2714, allocations: 258.1 kB / 0.5713 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2718, allocations: 36.06 kB / 0.5713 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.2739, allocations: 1.988 MB / 0.5733 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2742, allocations: 0.7045 MB / 0.574 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.2742, allocations: 8.875 kB / 0.574 GB, free: 3.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.2743, allocations: 31.42 kB / 0.574 GB, free: 3.891 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2743, allocations: 0 / 0.574 GB, free: 3.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.305, allocations: 2.998 MB / 0.5769 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/8.968, allocations: 7.984 kB / 0.577 GB, free: 0.9727 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.49166503699962]