Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001463/0.001463, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.0015/0.0015, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.548/1.548, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2415/0.2415, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Directions2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions2",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.002428/0.002428, allocations: 79.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 66.07 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004128/0.319, allocations: 2.867 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3204, allocations: 0.7829 MB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.3206, allocations: 11.94 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.3208, allocations: 59.38 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.321, allocations: 126.9 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.3213, allocations: 115.7 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.3218, allocations: 434.1 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.322, allocations: 112 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.3223, allocations: 179.4 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.3226, allocations: 183.2 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.3226, allocations: 32 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.3227, allocations: 32 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.3228, allocations: 83.69 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.323, allocations: 206.9 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.3235, allocations: 438.1 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3235, allocations: 4 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3235, allocations: 3.938 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3235, allocations: 0 / 0.567 GB, free: 14.65 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000942/0.3244, allocations: 0.5872 MB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3245, allocations: 15.97 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.625e-05/0.3246, allocations: 82.7 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.3248, allocations: 56.69 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.3252, allocations: 222.8 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.3252, allocations: 25.38 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3253, allocations: 44.33 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.3259, allocations: 394.3 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.326, allocations: 7.953 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.326, allocations: 12 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.326, allocations: 12 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.3264, allocations: 223.2 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.3288, allocations: 1.672 MB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.3292, allocations: 258.4 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.3294, allocations: 90.02 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3294, allocations: 11.98 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3294, allocations: 38.56 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.3294, allocations: 3.938 kB / 0.5706 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007311/0.3302, allocations: 269.4 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.3303, allocations: 209.6 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3306, allocations: 276.5 kB / 0.5713 GB, free: 9.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3306, allocations: 33.7 kB / 0.5714 GB, free: 9.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3308, allocations: 240 kB / 0.5716 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3309, allocations: 127 kB / 0.5717 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.331, allocations: 106.4 kB / 0.5718 GB, free: 9.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3311, allocations: 350.7 kB / 0.5722 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3313, allocations: 89.27 kB / 0.5722 GB, free: 8.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.3318, allocations: 440.8 kB / 0.5727 GB, free: 8.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.3325, allocations: 0.5585 MB / 0.5732 GB, free: 7.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3325, allocations: 4 kB / 0.5732 GB, free: 7.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009227/0.3335, allocations: 0.5324 MB / 0.5737 GB, free: 7.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3335, allocations: 11.94 kB / 0.5737 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3335, allocations: 12.84 kB / 0.5738 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.3335, allocations: 16 kB / 0.5738 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.334, allocations: 147.8 kB / 0.5739 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.334, allocations: 28.36 kB / 0.5739 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.3343, allocations: 63.62 kB / 0.574 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.3344, allocations: 35.98 kB / 0.574 GB, free: 6.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.3346, allocations: 182.3 kB / 0.5742 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3347, allocations: 31.81 kB / 0.5742 GB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.3348, allocations: 33.83 kB / 0.5743 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3348, allocations: 8 kB / 0.5743 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3348, allocations: 11.94 kB / 0.5743 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3348, allocations: 0 / 0.5743 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.3361, allocations: 0.6232 MB / 0.5749 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3361, allocations: 7.938 kB / 0.5749 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.3366, allocations: 83.95 kB / 0.575 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.3366, allocations: 8.062 kB / 0.575 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3366, allocations: 8 kB / 0.575 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.3366, allocations: 15.86 kB / 0.575 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3366, allocations: 4 kB / 0.575 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.3374, allocations: 0.8298 MB / 0.5758 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3375, allocations: 35.75 kB / 0.5759 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3375, allocations: 11.94 kB / 0.5759 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.3379, allocations: 8 kB / 0.5759 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.3379, allocations: 23.95 kB / 0.5759 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3379, allocations: 12 kB / 0.5759 GB, free: 4.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3381, allocations: 187.1 kB / 0.5761 GB, free: 4.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3381, allocations: 0 / 0.5761 GB, free: 4.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.3389, allocations: 99.89 kB / 0.5762 GB, free: 4.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.34, allocations: 1.385 MB / 0.5775 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.3406, allocations: 292.9 kB / 0.5778 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3406, allocations: 5.625 kB / 0.5778 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3408, allocations: 79.83 kB / 0.5779 GB, free: 2.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3418, allocations: 80.62 kB / 0.578 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.3479, allocations: 4.956 MB / 0.5828 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.3484, allocations: 0.7989 MB / 0.5836 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.3485, allocations: 43.27 kB / 0.5836 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3487, allocations: 119.4 kB / 0.5838 GB, free: 12.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3487, allocations: 0 / 0.5838 GB, free: 12.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.3807, allocations: 7.008 MB / 0.5906 GB, free: 5.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.103/9.484, allocations: 7.203 kB / 0.5906 GB, free: 5.262 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.472541850060225] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J4.phi', 'J4.w', 'J6.phi', 'J6.w', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w', 'inertia6.phi', 'inertia6.w'] 9.56233415612951 9.593332903 9.264077661 Calling exit ...