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.001425/0.001425, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.00157/0.00157, allocations: 221.2 kB / 22.92 MB, free: 5.531 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.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.754 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.1987/0.1987, allocations: 46.88 MB / 359.3 MB, free: 4.988 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.002143/0.002143, allocations: 75.88 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2573, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002687/0.26, allocations: 1.68 MB / 0.56 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002856/0.2603, allocations: 103.6 kB / 0.5601 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.2604, allocations: 4 kB / 0.5601 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.786e-05/0.2604, allocations: 11.86 kB / 0.5601 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2606, allocations: 43.62 kB / 0.5602 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.2607, allocations: 27.97 kB / 0.5602 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.2609, allocations: 135.4 kB / 0.5603 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.261, allocations: 21.11 kB / 0.5604 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.818e-05/0.2611, allocations: 51.84 kB / 0.5604 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.2612, allocations: 47.78 kB / 0.5605 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2612, allocations: 8 kB / 0.5605 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.705e-05/0.2613, allocations: 12 kB / 0.5605 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.2613, allocations: 23.92 kB / 0.5605 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.2614, allocations: 59.72 kB / 0.5606 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.2616, allocations: 121.3 kB / 0.5607 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.2616, allocations: 8 kB / 0.5607 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2616, allocations: 0 / 0.5607 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2616, allocations: 0 / 0.5607 GB, free: 2.871 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.0005494/0.2621, allocations: 411.1 kB / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2622, allocations: 8.031 kB / 0.5611 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.2622, allocations: 46.73 kB / 0.5611 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2623, allocations: 12.89 kB / 0.5611 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2625, allocations: 196.2 kB / 0.5613 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2625, allocations: 12.55 kB / 0.5613 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.2625, allocations: 16.38 kB / 0.5614 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.2627, allocations: 121.6 kB / 0.5615 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.2627, allocations: 11.89 kB / 0.5615 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2628, allocations: 7.938 kB / 0.5615 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.2628, allocations: 7.984 kB / 0.5615 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2629, allocations: 63.89 kB / 0.5616 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.2636, allocations: 0.5335 MB / 0.5621 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2638, allocations: 81.27 kB / 0.5622 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.2638, allocations: 29.64 kB / 0.5622 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.2638, allocations: 0 / 0.5622 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2639, allocations: 38.56 kB / 0.5622 GB, free: 1.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.2639, allocations: 0 / 0.5622 GB, free: 1.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005986/0.2645, allocations: 305.4 kB / 0.5625 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.2645, allocations: 77.11 kB / 0.5626 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2646, allocations: 125.8 kB / 0.5627 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2646, allocations: 25.7 kB / 0.5627 GB, free: 496 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.2647, allocations: 131.8 kB / 0.5629 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.2647, allocations: 27.75 kB / 0.5629 GB, free: 332 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.2648, allocations: 29.7 kB / 0.5629 GB, free: 296 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2649, allocations: 326.8 kB / 0.5632 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.265, allocations: 20 kB / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.2651, allocations: 84.58 kB / 0.5633 GB, free: 15.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.2652, allocations: 124.4 kB / 0.5634 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2652, allocations: 4 kB / 0.5634 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003063/0.2655, allocations: 163.7 kB / 0.5636 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2655, allocations: 8 kB / 0.5636 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2655, allocations: 3.938 kB / 0.5636 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.2657, allocations: 41.64 kB / 0.5637 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.2658, allocations: 23.98 kB / 0.5637 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.2678, allocations: 2.735 MB / 0.5663 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.2678, allocations: 15.89 kB / 0.5664 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.2679, allocations: 8.156 kB / 0.5664 GB, free: 12.38 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 0.0001034/0.268, allocations: 125.8 kB / 0.5665 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.268, allocations: 11.92 kB / 0.5665 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.268, allocations: 7.906 kB / 0.5665 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.268, allocations: 4 kB / 0.5665 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.268, allocations: 3.938 kB / 0.5665 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.268, allocations: 0 / 0.5665 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.2683, allocations: 209.5 kB / 0.5667 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2683, allocations: 0 / 0.5667 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.2684, allocations: 15.94 kB / 0.5667 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.45e-05/0.2685, allocations: 37.64 kB / 0.5668 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2685, allocations: 4 kB / 0.5668 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.2704, allocations: 2.734 MB / 0.5694 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2704, allocations: 0 / 0.5694 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.2707, allocations: 316.4 kB / 0.5697 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.2707, allocations: 81.11 kB / 0.5698 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2707, allocations: 4 kB / 0.5698 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.2708, allocations: 4 kB / 0.5698 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.2708, allocations: 8.031 kB / 0.5698 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2708, allocations: 0 / 0.5698 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.2709, allocations: 95.27 kB / 0.5699 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2709, allocations: 4 kB / 0.5699 GB, free: 8.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.2712, allocations: 43.89 kB / 0.57 GB, free: 8.297 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.0005775/0.2718, allocations: 0.8273 MB / 0.5708 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.2722, allocations: 297.6 kB / 0.5711 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2722, allocations: 0 / 0.5711 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.2725, allocations: 266.1 kB / 0.5713 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.2729, allocations: 35.17 kB / 0.5713 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.2749, allocations: 1.984 MB / 0.5733 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.2752, allocations: 0.7123 MB / 0.574 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.019e-05/0.2752, allocations: 4.891 kB / 0.574 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.2752, allocations: 31.42 kB / 0.574 GB, free: 3.898 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2752, allocations: 0 / 0.574 GB, free: 3.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3049, allocations: 3.009 MB / 0.577 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.757/9.061, allocations: 3.938 kB / 0.577 GB, free: 0.9766 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.53589443700912]