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.00168/0.00168, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002128/0.002128, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.561/1.561, allocations: 230.5 MB / 258.2 MB, free: 8.23 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.3285/0.3285, allocations: 46.94 MB / 361.6 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] 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.003849/0.003849, allocations: 79.86 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3752, allocations: 66.09 MB / 0.5615 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004759/0.3799, allocations: 2.867 MB / 0.5643 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3817, allocations: 0.8062 MB / 0.5651 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.382, allocations: 15.88 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.3822, allocations: 67.31 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.3826, allocations: 122.9 kB / 0.5653 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.383, allocations: 115.8 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.3837, allocations: 458.3 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.384, allocations: 140.8 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.3844, allocations: 187.3 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.3847, allocations: 187.2 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.3848, allocations: 39.94 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3849, allocations: 36 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.368e-05/0.385, allocations: 83.69 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.3852, allocations: 210.9 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.3858, allocations: 458 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3858, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3858, allocations: 4 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3858, allocations: 0 / 0.5671 GB, free: 14.44 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.001187/0.387, allocations: 0.6105 MB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3871, allocations: 12.03 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.3872, allocations: 74.72 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.3875, allocations: 72.62 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.388, allocations: 245.6 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.3881, allocations: 25.38 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.3881, allocations: 44.38 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.3889, allocations: 385.2 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3889, allocations: 3.953 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.389, allocations: 16 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.389, allocations: 8 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.3896, allocations: 247.8 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3915, allocations: 1.059 MB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.3921, allocations: 331.5 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.3924, allocations: 158.5 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.3924, allocations: 7.984 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.3925, allocations: 50.44 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.3925, allocations: 0 / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004194/0.3967, allocations: 2.004 MB / 0.5723 GB, free: 8.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.3968, allocations: 110.8 kB / 0.5724 GB, free: 8.648 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3971, allocations: 245.8 kB / 0.5727 GB, free: 8.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.3971, allocations: 37.7 kB / 0.5727 GB, free: 8.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3973, allocations: 184.9 kB / 0.5729 GB, free: 8.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.3975, allocations: 210.2 kB / 0.5731 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3976, allocations: 82.34 kB / 0.5732 GB, free: 7.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3978, allocations: 350.7 kB / 0.5735 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3981, allocations: 137.2 kB / 0.5736 GB, free: 7.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.3985, allocations: 232.7 kB / 0.5738 GB, free: 7.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.3991, allocations: 398 kB / 0.5742 GB, free: 6.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3991, allocations: 0 / 0.5742 GB, free: 6.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001119/0.4002, allocations: 0.554 MB / 0.5748 GB, free: 6.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4003, allocations: 8 kB / 0.5748 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4003, allocations: 4 kB / 0.5748 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.4007, allocations: 122.5 kB / 0.5749 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.4011, allocations: 99.97 kB / 0.575 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/0.4062, allocations: 4.907 MB / 0.5798 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.4066, allocations: 19.98 kB / 0.5798 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4066, allocations: 16 kB / 0.5798 GB, free: 0.6172 MB / 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.0002797/0.4069, allocations: 169.8 kB / 0.58 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.407, allocations: 47.75 kB / 0.58 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.587e-05/0.4071, allocations: 42.12 kB / 0.5801 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4071, allocations: 7.938 kB / 0.5801 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/0.4071, allocations: 11.92 kB / 0.5801 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4071, allocations: 0 / 0.5801 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.4093, allocations: 1.293 MB / 0.5813 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4093, allocations: 4.094 kB / 0.5813 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.4098, allocations: 95.88 kB / 0.5814 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.4101, allocations: 98.39 kB / 0.5815 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.4101, allocations: 12 kB / 0.5815 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/0.414, allocations: 4.123 MB / 0.5856 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.414, allocations: 3.938 kB / 0.5856 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.4155, allocations: 0.9182 MB / 0.5865 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4156, allocations: 39.77 kB / 0.5865 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.4156, allocations: 12 kB / 0.5865 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4159, allocations: 15.98 kB / 0.5865 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.416, allocations: 47.84 kB / 0.5866 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.4161, allocations: 16 kB / 0.5866 GB, free: 9.203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.4163, allocations: 177.2 kB / 0.5868 GB, free: 9.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 4 kB / 0.5868 GB, free: 9.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007677/0.417, allocations: 116 kB / 0.5869 GB, free: 8.91 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.001828/0.4188, allocations: 1.482 MB / 0.5883 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4203, allocations: 0.7559 MB / 0.5891 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4203, allocations: 4.188 kB / 0.5891 GB, free: 6.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.4212, allocations: 0.5621 MB / 0.5896 GB, free: 5.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.422, allocations: 57.72 kB / 0.5897 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/0.4288, allocations: 4.185 MB / 0.5938 GB, free: 1.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.4293, allocations: 0.828 MB / 0.5946 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.4295, allocations: 35.27 kB / 0.5946 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.4297, allocations: 131.3 kB / 0.5947 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of SimCode: time 1.432e-06/0.4297, allocations: 0 / 0.5947 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.4749, allocations: 8.741 MB / 0.6033 GB, free: 7.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.53, allocations: 11.42 kB / 0.6033 GB, free: 7.895 MB / 446.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00039984 --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: 14.648987849708647] Failed to read output from testmodel.py, exit status != 0: ['time', 'J2.phi', 'J2.w', 'J3.phi', 'J3.w', 'J5.phi', 'J5.w'] 11.624485105741769 11.639719587 11.250190608 Calling exit ...