Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.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.001444/0.001444, 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.001287/0.001287, allocations: 221.1 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.1973/0.1973, allocations: 46.9 MB / 359.3 MB, free: 4.98 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.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions",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.002115/0.002115, allocations: 79.88 kB / 0.494 GB, free: 9.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.253, allocations: 65.99 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003837/0.2568, allocations: 2.869 MB / 0.5612 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2581, allocations: 0.8062 MB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2582, allocations: 11.94 kB / 0.562 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2584, allocations: 67.31 kB / 0.5621 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.2586, allocations: 130.9 kB / 0.5622 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2589, allocations: 123.7 kB / 0.5623 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.2594, allocations: 450.3 kB / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002436/0.2596, allocations: 136 kB / 0.5629 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2599, allocations: 175.4 kB / 0.563 GB, free: 440 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.2601, allocations: 199.1 kB / 0.5632 GB, free: 240 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.2602, allocations: 32 kB / 0.5633 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.2603, allocations: 40 kB / 0.5633 GB, free: 168 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.2604, allocations: 83.69 kB / 0.5634 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.2606, allocations: 210.9 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.2611, allocations: 462 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2611, allocations: 0 / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2611, allocations: 0 / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2611, allocations: 0 / 0.564 GB, free: 15.42 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000961/0.262, allocations: 0.6897 MB / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2621, allocations: 8.031 kB / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.2622, allocations: 78.66 kB / 0.5648 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.2625, allocations: 72.62 kB / 0.5648 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.2628, allocations: 303.5 kB / 0.5651 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.2629, allocations: 37.38 kB / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.2629, allocations: 40.36 kB / 0.5652 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.2636, allocations: 381.2 kB / 0.5656 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2636, allocations: 19.88 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.2636, allocations: 12 kB / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2636, allocations: 12 kB / 0.5656 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.2641, allocations: 243.8 kB / 0.5658 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.2657, allocations: 1.101 MB / 0.5669 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.2662, allocations: 327.4 kB / 0.5672 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.2665, allocations: 162.5 kB / 0.5674 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2665, allocations: 7.938 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.2666, allocations: 38.5 kB / 0.5674 GB, free: 11.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.2666, allocations: 0 / 0.5674 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003864/0.2704, allocations: 2.457 MB / 0.5698 GB, free: 8.992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.2705, allocations: 118.8 kB / 0.5699 GB, free: 8.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.2707, allocations: 242.7 kB / 0.5702 GB, free: 8.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.2708, allocations: 33.7 kB / 0.5702 GB, free: 8.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2709, allocations: 192.8 kB / 0.5704 GB, free: 8.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.2711, allocations: 206.2 kB / 0.5706 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2712, allocations: 90.25 kB / 0.5707 GB, free: 8.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2714, allocations: 350.7 kB / 0.571 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.2716, allocations: 129.1 kB / 0.5711 GB, free: 7.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.272, allocations: 223.8 kB / 0.5713 GB, free: 7.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.2726, allocations: 398 kB / 0.5717 GB, free: 6.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2726, allocations: 0 / 0.5717 GB, free: 6.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001011/0.2736, allocations: 0.5578 MB / 0.5723 GB, free: 6.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2736, allocations: 7.938 kB / 0.5723 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.2736, allocations: 4 kB / 0.5723 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.274, allocations: 126.7 kB / 0.5724 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.2743, allocations: 95.88 kB / 0.5725 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/0.2788, allocations: 5.218 MB / 0.5776 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.279, allocations: 19.98 kB / 0.5776 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.279, allocations: 24.06 kB / 0.5776 GB, free: 444 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.2792, allocations: 165.7 kB / 0.5778 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.2793, allocations: 35.77 kB / 0.5778 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.2794, allocations: 54.16 kB / 0.5779 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2794, allocations: 7.938 kB / 0.5779 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.2794, allocations: 7.938 kB / 0.5779 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.2794, allocations: 11.92 kB / 0.5779 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.2814, allocations: 1.314 MB / 0.5792 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2814, allocations: 4 kB / 0.5792 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.2818, allocations: 95.83 kB / 0.5793 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.2821, allocations: 102.5 kB / 0.5794 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.2821, allocations: 15.98 kB / 0.5794 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/0.2856, allocations: 4.431 MB / 0.5837 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2856, allocations: 0 / 0.5837 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.2869, allocations: 0.9272 MB / 0.5846 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.287, allocations: 108.9 kB / 0.5847 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.287, allocations: 12.06 kB / 0.5847 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2873, allocations: 15.98 kB / 0.5848 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.2874, allocations: 51.88 kB / 0.5848 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.2874, allocations: 12 kB / 0.5848 GB, free: 8.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.2875, allocations: 178 kB / 0.585 GB, free: 8.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2875, allocations: 0 / 0.585 GB, free: 8.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006352/0.2882, allocations: 120 kB / 0.5851 GB, free: 8.215 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.001591/0.2898, allocations: 1.48 MB / 0.5865 GB, free: 6.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.291, allocations: 0.7544 MB / 0.5873 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.291, allocations: 0 / 0.5873 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.2917, allocations: 0.5721 MB / 0.5878 GB, free: 5.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.2924, allocations: 60.59 kB / 0.5879 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.2978, allocations: 4.181 MB / 0.592 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.2982, allocations: 0.8241 MB / 0.5928 GB, free: 0 / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.2984, allocations: 39.27 kB / 0.5928 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2985, allocations: 127.4 kB / 0.5929 GB, free: 15.84 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2985, allocations: 0 / 0.5929 GB, free: 15.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.3388, allocations: 8.434 MB / 0.6012 GB, free: 7.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.162/9.501, allocations: 9.266 kB / 0.6012 GB, free: 7.504 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.002696298994124]